Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dkershner6/aws-ssm-getparameters-action
A GitHub action centered on AWS Systems Manager Parameter Store GetParameters call, and placing the results into environment variables
https://github.com/dkershner6/aws-ssm-getparameters-action
Last synced: 3 days ago
JSON representation
A GitHub action centered on AWS Systems Manager Parameter Store GetParameters call, and placing the results into environment variables
- Host: GitHub
- URL: https://github.com/dkershner6/aws-ssm-getparameters-action
- Owner: dkershner6
- License: apache-2.0
- Created: 2021-06-10T19:49:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-03T00:24:04.000Z (5 months ago)
- Last Synced: 2024-10-14T13:06:17.270Z (about 1 month ago)
- Language: TypeScript
- Size: 2.11 MB
- Stars: 25
- Watchers: 3
- Forks: 15
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS SSM Parameter Store GetParameters Action
A GitHub action centered on AWS Systems Manager Parameter Store GetParameters call, and placing the results into environment variables.
This action is optimized to use the least possible number of API calls to Parameter Store, to avoid the low rate limits.
## Usage
```yaml
- name: Configure AWS credentials
id: aws-credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_KEY }}
aws-region: us-east-1- uses: dkershner6/aws-ssm-getparameters-action@v2
with:
parameterPairs: |
/region/primary = PRIMARY_AWS_REGION,
/accountAlias = AWS_ACCOUNT_ALIAS
# The part before equals is the ssm parameterName, and after is the ENV Variable name for the workflow.
# No limit on number of parameters. You can put new lines and spaces in as desired, they get trimmed out.
withDecryption: "true" # defaults to true
```## Contributing
All contributions are welcome, please open an issue or pull request.
To use this repository:
1. `npm i -g pnpm` (if don't have pnpm installed)
2. `pnpm i`
3. `npx projen` (this will ensure everything is setup correctly, and you can run this command at any time)
4. Good to make your changes!
5. You can run `npx projen build` at any time to build the project.