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
ssm: Adding noDecrypt param support to SSM #10314 #10315
ssm: Adding noDecrypt param support to SSM #10314 #10315
Conversation
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.
@omerinvia great thanks for that PR. It looks very good, I have just one suggestion towards param resolution
lib/configuration/variables/sources/instance-dependent/get-ssm.js
Outdated
Show resolved
Hide resolved
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.
@omerinvia looks very good! I've just proposed as slight improvement to docs
#### Disable automatically `SecureString` decryption | ||
|
||
as mentioned above, by default , `SecureString` type parameters are automatically decrypted. |
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.
Let's remove this lines
@@ -340,6 +340,10 @@ New variable resolver, ensures that automatically other types as `SecureString` | |||
|
|||
All `SecureString` type parameters are automatically decrypted, and automatically parsed if they export stringified JSON content (Note: you can turn off parsing by passing `raw` instruction into variable as: `${ssm(raw):/path/to/secureparam}`, if you need to also pass custom region, put it first as: `${ssm(eu-west-1, raw):/path/to/secureparam}`) | |||
|
|||
#### Disable automatically `SecureString` decryption |
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.
Let's remove this title
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.
Thank you @omerinvia !
Codecov Report
@@ Coverage Diff @@
## master #10315 +/- ##
=======================================
Coverage 85.43% 85.43%
=======================================
Files 339 340 +1
Lines 13923 13939 +16
=======================================
+ Hits 11895 11909 +14
- Misses 2028 2030 +2
Continue to review full report at Codecov.
|
Closes: https://github.com/serverless/serverless/issues/10314