Error when retrieving a Gateway API ( Endpoint_type: private with VPC Endpoint) in data #12870
Labels
bug
Addresses a defect in current functionality.
service/apigateway
Issues and PRs that pertain to the apigateway service.
Code :
data "aws_api_gateway_rest_api" "api-gw" {
name = "my-existing-api-gateway-name"
}
Errors :
Error: error setting endpoint_configuration: endpoint_configuration.0.vpc_endpoint_ids: '': source data must be an array or slice, got struct
on main.tf line 5, in data "aws_api_gateway_rest_api" "api-gw":
5: data "aws_api_gateway_rest_api" "api-gw" {
The text was updated successfully, but these errors were encountered: