File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -96,12 +96,12 @@ module "http_sg" {
9696module "db_computed_source_sg" {
9797 # omitted for brevity
9898
99- vpc_id = "vpc-12345678" # these are valid values also - "${ module.vpc.vpc_id}" and "${ local.vpc_id}"
99+ vpc_id = "vpc-12345678" # these are valid values also - ` module.vpc.vpc_id` and ` local.vpc_id`
100100
101101 computed_ingress_with_source_security_group_id = [
102102 {
103103 rule = "mysql-tcp"
104- source_security_group_id = "${ module.http_sg.this_security_group_id}"
104+ source_security_group_id = module.http_sg.security_group_id
105105 }
106106 ]
107107 number_of_computed_ingress_with_source_security_group_id = 1
@@ -110,16 +110,16 @@ module "db_computed_source_sg" {
110110module "db_computed_sg" {
111111 # omitted for brevity
112112
113- ingress_cidr_blocks = ["10.10.0.0/16", "${ data.aws_security_group.default.id}" ]
113+ ingress_cidr_blocks = ["10.10.0.0/16", data.aws_security_group.default.id]
114114
115- computed_ingress_cidr_blocks = ["${ module.vpc.vpc_cidr_block}" ]
115+ computed_ingress_cidr_blocks = [module.vpc.vpc_cidr_block]
116116 number_of_computed_ingress_cidr_blocks = 1
117117}
118118
119119module "db_computed_merged_sg" {
120120 # omitted for brevity
121121
122- computed_ingress_cidr_blocks = ["10.10.0.0/16", "${ module.vpc.vpc_cidr_block}" ]
122+ computed_ingress_cidr_blocks = ["10.10.0.0/16", module.vpc.vpc_cidr_block]
123123 number_of_computed_ingress_cidr_blocks = 2
124124}
125125```
You can’t perform that action at this time.
0 commit comments