File tree Expand file tree Collapse file tree 5 files changed +21
-6
lines changed
Expand file tree Collapse file tree 5 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 11version : 2
2- module_version : " 1.0 .2"
2+ module_version : " 1.5 .2"
33
44tests :
55 - name : Basic example
Original file line number Diff line number Diff line change @@ -35,11 +35,12 @@ module "this" {
3535 vpc_id = var. vpc_id
3636 ecs_subnets = var. private_subnet_ids
3737
38- server_lb_name = var. server_lb_name
39- server_lb_subnets = var. public_subnet_ids
40- server_security_group_id = var. server_security_group_id
41- server_lb_certificate_arn = var. lb_certificate_arn
42- server_desired_count = 0
38+ server_lb_name = var. server_lb_name
39+ server_lb_subnets = var. public_subnet_ids
40+ server_security_group_id = var. server_security_group_id
41+ load_balancer_security_group_id = var. load_balancer_security_group_id
42+ server_lb_certificate_arn = var. lb_certificate_arn
43+ server_desired_count = 0
4344
4445 drain_security_group_id = var. drain_security_group_id
4546 drain_desired_count = 0
Original file line number Diff line number Diff line change @@ -71,3 +71,9 @@ variable "ecr_backend_repository_url" {
7171variable "ecr_launcher_repository_url" {
7272 type = string
7373}
74+
75+ variable "load_balancer_security_group_id" {
76+ type = string
77+ default = null
78+ description = " The security group ID to use for the main load balancer. If not provided, a new security group will be created."
79+ }
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ module "lb" {
4848 server_lb_certificate_arn = var. server_lb_certificate_arn
4949 server_security_group_id = var. server_security_group_id
5050
51+ load_balancer_security_group_id = var. load_balancer_security_group_id
52+
5153 vcs_gateway_external_port = var. vcs_gateway_external_port
5254 vcs_gateway_internal_port = var. vcs_gateway_internal_port
5355 vcs_gateway_internal = var. vcs_gateway_internal
Original file line number Diff line number Diff line change @@ -500,3 +500,9 @@ variable "mqtt_broker_type" {
500500 error_message = " mqtt_broker_type must be either 'builtin' or 'iotcore'"
501501 }
502502}
503+
504+ variable "load_balancer_security_group_id" {
505+ type = string
506+ default = null
507+ description = " The security group ID to use for the main load balancer. If not provided, a new security group will be created."
508+ }
You can’t perform that action at this time.
0 commit comments