Skip to content

Commit

Permalink
Merge pull request #527 from umccr/fix-vpce-s3-dyno-db
Browse files Browse the repository at this point in the history
Networking TF: Fixed VPC Gateway S3 and DynamoDB endpoints to db route table ids
  • Loading branch information
victorskl authored Jan 20, 2025
2 parents 51f75fe + 8353c60 commit 2b90270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/stacks/networking/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ module "main_vpc_endpoints" {
s3 = {
service = "s3"
service_type = "Gateway"
route_table_ids = flatten([module.main_vpc.intra_route_table_ids, module.main_vpc.private_route_table_ids, module.main_vpc.public_route_table_ids])
route_table_ids = flatten([module.main_vpc.database_route_table_ids, module.main_vpc.private_route_table_ids, module.main_vpc.public_route_table_ids])
tags = { Name = "s3-vpc-endpoint" }
},
dynamodb = {
service = "dynamodb"
service_type = "Gateway"
route_table_ids = flatten([module.main_vpc.intra_route_table_ids, module.main_vpc.private_route_table_ids, module.main_vpc.public_route_table_ids])
route_table_ids = flatten([module.main_vpc.database_route_table_ids, module.main_vpc.private_route_table_ids, module.main_vpc.public_route_table_ids])
# policy = data.aws_iam_policy_document.dynamodb_endpoint_policy.json
tags = { Name = "dynamodb-vpc-endpoint" }
},
Expand Down

0 comments on commit 2b90270

Please sign in to comment.