aws-actions / aws-secretsmanager-get-secrets

MIT No Attribution
142 stars 38 forks source link

can you please add the ability to inject the secrets region ? #166

Closed chkp-dvirpa closed 1 month ago

chkp-dvirpa commented 1 month ago

like so

- name: get secret 
      uses: aws-actions/aws-secretsmanager-get-secrets@v2
      with:
        region: eu-west-1
        secret-ids: |
          secret_name
        parse-json-secrets: true
jirkafajfr commented 1 month ago

Hi @chkp-dvirpa,

you can configure region by passing aws-region to the configure-aws-credentials and SecretsManager will pickup the region automatically. Alternatively you can specify AWS_REGION environment variable in your job/step (documentation).

May I ask what is your usecase, If none of these fits you?