Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when retrieving a Gateway API ( Endpoint_type: private with VPC Endpoint) in data #12870

Closed
beydiat opened this issue Apr 17, 2020 · 2 comments · Fixed by #12825
Closed
Labels
bug Addresses a defect in current functionality. service/apigateway Issues and PRs that pertain to the apigateway service.

Comments

@beydiat
Copy link

beydiat commented Apr 17, 2020

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" {

@ghost ghost added the service/apigateway Issues and PRs that pertain to the apigateway service. label Apr 17, 2020
@bflad bflad added the bug Addresses a defect in current functionality. label Apr 17, 2020
@bflad
Copy link
Contributor

bflad commented Apr 17, 2020

A fix for this was submitted here: #12825

@ghost
Copy link

ghost commented May 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators May 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/apigateway Issues and PRs that pertain to the apigateway service.
Projects
None yet
2 participants