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

Support for AWS API Gateway v2 (HTTP API, WebSocket API) #1853

Open
vazome opened this issue Mar 7, 2024 · 1 comment
Open

Support for AWS API Gateway v2 (HTTP API, WebSocket API) #1853

vazome opened this issue Mar 7, 2024 · 1 comment

Comments

@vazome
Copy link

vazome commented Mar 7, 2024

Hi! I tried to import my HTTP AWS API Gateway:

terraformer import aws --resources=api_gateway --regions=eu-central-1
2024/03/07 04:12:48 aws importing region eu-central-1
2024/03/07 04:12:50 aws importing... api_gateway
2024/03/07 04:12:52 aws done importing api_gateway
2024/03/07 04:12:52 Number of resources for service api_gateway: 0
2024/03/07 04:12:52 aws Connecting....
2024/03/07 04:12:52 aws save api_gateway
2024/03/07 04:12:52 aws save tfstate for api_gateway

The number is 0, which is strange considering I indeed have it deployed in my account.
image

Then I checked the source code for terraformer, particularly api_gateway.go, and it appears it references AWS SDK API Gateway whereas AWS SDK API Gateway v2 is released which enables HTTP API, WebSocket API types.

@lballe
Copy link

lballe commented Mar 25, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants