-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
CFNv2: support resolve:ssm: and resolve:secretsmanager: strings #12965
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
Conversation
LocalStack Community integration with Pro 2 files 2 suites 22m 17s ⏱️ Results for commit 7b1baa1. |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 33m 46s ⏱️ Results for commit 7b1baa1. |
pinzon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. It would be nice to have a test that asserts the Not happy path of the resolving. But let's handle that in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
| kwargs = {} # optional args for get_secret_value | ||
| if version_id: | ||
| kwargs["VersionId"] = version_id | ||
| if version_stage: | ||
| kwargs["VersionStage"] = version_stage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python complain: there should be a more pythonic way to handle this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hehe this came from @dominikschubert in 2021!
localstack/localstack-core/localstack/services/cloudformation/engine/template_deployer.py
Lines 278 to 281 in ac8897e
| if version_id: | |
| kwargs["VersionId"] = version_id | |
| if version_stage: | |
| kwargs["VersionStage"] = version_stage |
Motivation
The V2 engine does not currently support resolving dynamic parameter values, e.g.
Changes