Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 3, 2021
1 parent 6018993 commit 723d530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routing/vpc-endpoints.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#---

locals {
vpce_s3 = var.enable_vpc_endpoint_s3 ? element(concat(aws_vpc_endpoint.s3[*].id, tolist("")), 0) : ""
vpce_dynamodb = var.enable_vpc_endpoint_dynamodb ? element(concat(aws_vpc_endpoint.dynamodb[*].id, tolist("")), 0) : ""
vpce_s3 = var.enable_vpc_endpoint_s3 ? element(concat(aws_vpc_endpoint.s3[*].id, tolist([""])), 0) : ""
vpce_dynamodb = var.enable_vpc_endpoint_dynamodb ? element(concat(aws_vpc_endpoint.dynamodb[*].id, tolist([""])), 0) : ""
}

data "aws_vpc_endpoint_service" "s3" {
Expand Down

0 comments on commit 723d530

Please sign in to comment.