Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

amun/gh-action-ssm-to-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSM path to environment variables in Github job.

Used as a step to inject all env variables found in given path, to be used by all steps in GH Workflow job.

Retrieves all parameters in given path and masks values with * if printed to stdout.

Usage in job manifest

AWS Credentials has to set before using this action.

      - name: Configure AWS credentials
        uses: aws-actions/configure-aws-credentials@v1
        with:
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_STAGING }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_STAGING }}
          aws-region: us-east-1

      - name: Get and set envs from ssm
        uses: amun/gh-action-ssm-to-env@v1
        with:
          ssm-path: '/your/ssm/path/'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published