-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat: adding support for SSM Parameters (string) as Type #2469
feat: adding support for SSM Parameters (string) as Type #2469
Conversation
* added new entry on parameters.json > Types > enum * added one input to test all correct types pass * added one input and output to test that it will fail if a Parameter is not included in the enum from parameters.json * updated test_validator_root to include these new cases
Codecov Report
@@ Coverage Diff @@
## develop #2469 +/- ##
===========================================
+ Coverage 93.58% 94.48% +0.89%
===========================================
Files 90 98 +8
Lines 6124 7285 +1161
Branches 1260 1517 +257
===========================================
+ Hits 5731 6883 +1152
- Misses 183 194 +11
+ Partials 210 208 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Thanks for the PR! LGTM!
If someone could give me some info on what are the actual SSM Parameter Types that SAM support, I would really love to update the PR to include all of them. |
That's a good question.
Edit: My statement above is probably inaccurate. Let me confirm the behavior and I will update my comment. |
@hawflau, |
Yep, the inaccurate part in my comment was " I think SAM would just receive whatever value (string or list) the SSM parameter resolves to". But that's not the point in this PR. I agree that the parity between Just want to confirm - do other supported SSM Parameter types also work in |
@hawflau |
Issue #, if available:
#2301
Description of changes:
Description of how you validated changes:
Checklist:
make pr
passesExamples?
Please reach out in the comments, if you want to add an example. Examples will be
added to
sam init
through https://github.com/awslabs/aws-sam-cli-app-templates/By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.