Skip to content

Commit

Permalink
Attempting to add subnet id values
Browse files Browse the repository at this point in the history
  • Loading branch information
twerthi committed Aug 15, 2022
1 parent 707eee8 commit 380115b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#resource "aws_db_subnet_group" "samples_rds_subnet_group" {
# name = "samples_rds_subnet_group"
# subnet_ids = [aws_subnet.solutions-public-sb.id]
#}
resource "aws_db_subnet_group" "samples_rds_subnet_group" {
name = "samples_rds_subnet_group"
subnet_ids = values(aws_subnet.solutions-public-sb)[*].id
}


resource "aws_db_instance" "mariadb_rds_instance" {
Expand Down

0 comments on commit 380115b

Please sign in to comment.