Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
1.4K

aws-parameter-store aws-parameter-store

Gathers parameters from AWS Parameter Store

arguments

  • AWS_ACCESS_KEY_ID - AWS Access Key, used for CLI Credentials.
  • AWS_CONFIG - base64 encoded .aws/config file. Should be provided as a pipeline variable. (If defined, will be used instead aws keys)
  • AWS_CONFIG_FILE - Location of AWS Config file.
  • AWS_CREDENTIALS - base64 encoded .aws/credentials file. Should be provided as a pipeline variable. (If defined, will be used instead aws keys)
  • AWS_DEFAULT_REGION - AWS Region, used for CLI Credentials.
  • AWS_PROFILE - AWS Profile, used for Credentials file.
  • AWS_SECRET_ACCESS_KEY - AWS Secret Access Key, used for CLI Credentials.
  • AWS_SHARED_CREDENTIALS_FILE - Location of AWS Credentials file, used for Credentials file.
  • PARAMETERS - Space delimited list of parameter names.
    GetParameters:
  type: aws-parameter-store
  arguments:
    AWS_ACCESS_KEY_ID: '${{access_key}}'
    AWS_DEFAULT_REGION: '${{region}}'
    AWS_SECRET_ACCESS_KEY: '${{secret}}'
    PARAMETERS: param1 param2

  
    GetParameters:
  type: aws-parameter-store
  arguments:
    AWS_CREDENTIALS: '${{my_credentials}}'
    AWS_CONFIG: '{{my_config}}'
    AWS_PROFILE: staging
    PARAMETERS: param1 param2

  
github.com
Dustin Van Buskirk
Jul 4, 2021