File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11resource "aws_db_subnet_group" "secure" {
22 count = var. create_dbsubgroup_secure ? 1 : 0
33 name = var. db_subnet_group_secure_name_compat ? lower (" ${ var . name } -dbsubnet" ) : lower (" ${ format (local. names [var . name_pattern ]. db_subnet , var. name , local. name_suffix )} -secure" )
4- subnet_ids = aws_subnet. secure . * . id
4+ subnet_ids = aws_subnet. secure [ * ] . id
55
66 tags = merge (
77 var. tags ,
@@ -16,7 +16,7 @@ resource "aws_db_subnet_group" "secure" {
1616resource "aws_db_subnet_group" "private" {
1717 count = var. create_dbsubgroup_private ? 1 : 0
1818 name = lower (" ${ format (local. names [var . name_pattern ]. db_subnet , var. name , local. name_suffix )} -private" )
19- subnet_ids = aws_subnet. private . * . id
19+ subnet_ids = aws_subnet. private [ * ] . id
2020
2121 tags = merge (
2222 var. tags ,
@@ -31,7 +31,7 @@ resource "aws_db_subnet_group" "private" {
3131resource "aws_db_subnet_group" "public" {
3232 count = var. create_dbsubgroup_public ? 1 : 0
3333 name = lower (" ${ format (local. names [var . name_pattern ]. db_subnet , var. name , local. name_suffix )} -public" )
34- subnet_ids = aws_subnet. public . * . id
34+ subnet_ids = aws_subnet. public [ * ] . id
3535
3636 tags = merge (
3737 var. tags ,
You can’t perform that action at this time.
0 commit comments