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

fix: remove env from generated infra sample code #734

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

agdimech
Copy link
Contributor

Previously we were passing in an env taking the users currently configured account and region. The problem with this is that if deploying via a cloud assembly, these params were hardcoded to the values at synth time which is problematic. By omitting the env entirely, it will resolve all occurrences of region and account with a substitution to be resolved at deployment time.

@agdimech agdimech merged commit ade2ca9 into mainline Mar 25, 2024
3 checks passed
@agdimech agdimech deleted the fix/infra_sample branch March 25, 2024 02:04
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

Successfully merging this pull request may close these issues.

2 participants