Skip to content

Commit

Permalink
update route table association
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandra Reddy authored and Chandra Reddy committed Aug 16, 2024
1 parent edd0fe1 commit 0f6f9fa
Show file tree
Hide file tree
Showing 3 changed files with 1,847 additions and 3 deletions.
7 changes: 6 additions & 1 deletion infrastructure/04_rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,13 @@ resource "aws_route_table_association" "subnet_association" {
route_table_id = aws_route_table.public.id
}

resource "aws_route_table_association" "subnet_association_alt" {
subnet_id = aws_subnet.alternative.id
route_table_id = aws_route_table.public.id
}

resource "aws_db_instance" "default" {
identifier = "shared-rds-instance"
identifier = "cm-appfolio-db"
allocated_storage = 20
engine = "mysql"
engine_version = "8.0"
Expand Down
Loading

0 comments on commit 0f6f9fa

Please sign in to comment.