Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aws-node-cloud-extensions-parameter-store: a Node.js function that reads a Parameter Store parameter through AWS Systems Manager Cloud Extensions, configured withprovider.cloudExtensionsand theaws:parameterstoreextension.AWS::SSM::Parameterunderresources, named per stage, so deploy, check and remove are self-contained.Hello from Parameter Store, the value only the extension can return.Lesson: give functions the Parameter Store extension with
provider.cloudExtensionsand read a parameter throughhttp://localhost:5333/parameterstorewith the unchanged AWS SDK client.Left out, each its own example if wanted: Secrets Manager and AppConfig, per-function
cloudExtensions, version pinning andapprove, extensionsettings, an existing role or profile, and the local-run fallback.This example needs the release of the Serverless Framework that ships
cloudExtensions(serverless/serverless#14205). Until that release, the live job on this pull request, which installs the released CLI, can't deploy the example.Test plan
npm run docs,node scripts/check-examples.mjs,npm test,npm run validateandcheck-examples.mjs --packageare cleancloud extensionssection and the invoke returned the parameter valuePASS aws-node-cloud-extensions-parameter-store 4.47.0 107s, with only the live-test role's permissionscloudExtensions: falseon the function, the live test stops at thecheckstep (connect ECONNREFUSED 127.0.0.1:5333)Generated by Claude Code