action-aws-ssm-to-dotenv icon indicating copy to clipboard operation
action-aws-ssm-to-dotenv copied to clipboard

Added 4 features.

Open jamie-wearsafe opened this issue 4 years ago • 2 comments

  format:
    description: >+
      Examples:
      `dotenv` will add the values to the file like   `key=value`
      `shell`  will add the values to the file like   `export key=value`
      `yaml`   will add the values to the file like   `key: value`
      `JSON`   will add the values to the file like   `{"key": "value"}`
  prefix-paths:
    required: false
    default: "false"
    description: >+
      If "true" the relative path from the ssm-paths value to the parameter is prefixed on the key. 
      So if the key full path is /envs/dev/mysql_user then if this is true and ssm-paths value was  
      "/env/" the key presented would be "dev_mysql_user"'
  set-as-env:
    description: "Sets the values as environment variables for this GitHub Actions Job"
    default: "true"
    required: false
  set-case:
    description: 'Transform the keys to "upper", "lower", or "none" for unchanged'
    default: "none"
    required: false

jamie-wearsafe avatar Apr 04 '20 19:04 jamie-wearsafe

Nice additions!

nilsdebruin avatar May 07 '20 20:05 nilsdebruin

I am not a JS developer, but I will try to add the option to export to a plain file without a key/value structure. I am using this to download a ssh key which I have stored in SSM as a secure string. Maybe I can call this plain or raw.

nilsdebruin avatar May 07 '20 20:05 nilsdebruin