Skip to content

Commit

Permalink
corrected subnet resource reference #12
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Sep 4, 2024
1 parent 55124e4 commit 464cc16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda_security_group.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource "aws_vpc_endpoint" "secrets_manager" {
vpc_id = aws_vpc.this.id
service_name = "com.amazonaws.${var.region}.secretsmanager"
vpc_endpoint_type = "Interface"
subnet_ids = [for subnet in aws_subnet.private : subnet.id]
subnet_ids = [for subnet in aws_subnet.db : subnet.id]
security_group_ids = [aws_security_group.endpoint_sg.id]
private_dns_enabled = true
tags = {
Expand Down

0 comments on commit 464cc16

Please sign in to comment.