Skip to content

Commit

Permalink
change vpc-endpoint-type to service-type (aws docs wrong)
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 19, 2022
1 parent 774afb1 commit d0bacb0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vpc-interface-endpoint/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,13 @@ locals {
}
}

# AWS docs say this is vpc-endpoint-type but the awscli says its service-type = Interface | Gateway
# https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpoints.html

data "aws_vpc_endpoint_service" "interface_endpoint" {
service = local.service
filter {
name = "vpc-endpoint-type"
name = "service-type"
values = ["Interface"]
}
}
Expand Down

0 comments on commit d0bacb0

Please sign in to comment.