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?