mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-11-30 03:34:22 +01:00
feat: add translate-env-variables option (#1961)
* feat: add translate-env-variables option * feat: add translate-env-variables option
This commit is contained in:
1 parent
cc49fa741e
commit
57b83659c2
6 files changed
+78
-3
No files matched your search
+3
-1
@@ -25,7 +25,9 @@ const ROLE_SESSION_NAME_REGEX = /^[\w+=,.@-]*$/;
|
||||
|
||||
export async function run() {
|
||||
try {
|
||||
translateEnvVariables();
|
||||
if (getBooleanInput('translate-env-variables', { required: false, default: true })) {
|
||||
translateEnvVariables();
|
||||
}
|
||||
// Get inputs
|
||||
// Undefined inputs are empty strings ( or empty arrays)
|
||||
const AccessKeyId = core.getInput('aws-access-key-id', { required: false });
|
||||
|
||||
Reference in new issue
Block a user