aws-secretsmanager-get-secrets
aws-secretsmanager-get-secrets copied to clipboard
Remove uppercase enforcement of environment variables
Currently environment vars must be uppercase, which prevents us from populating terraform input variables directly with this action. For example, we cannot do TF_VAR_secret_1 directly with this action and then need an intermediate action to take this output and set the correct terraform environment variable.
I think this should be allowed given the enormous popularity of terraform. Can't see any documented reasoning why you force the name to uppercase here https://github.com/aws-actions/aws-secretsmanager-get-secrets/blob/main/src/utils.ts#L189C54-L189C65
Thank you for the request, we will look into this.
We've added option name-transformation. Your use-case is covered by name-transformation: none. Please see the documentaiton or https://github.com/aws-actions/aws-secretsmanager-get-secrets/pull/139 for more info.