#StackBounty: #terraform #amazon-api-gateway Sharing AWS API Gateway resource between Terraform Workspaces?

Bounty: 100

I’ve seen Terraform workspaces recommended for managing different stages (staging, production). That seems to work well with most things as you generally create different resources that have the stage/workspace in the name or, if it’s a shared resource, you import it into each workspace state.

However, I’m not sure how I should proceed with API Gateways. This type of resource can’t be imported in the state which means if you create it in staging, you have to delete it and re-import it in production.

How do you deal with stages and API Gateways?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.