diff --git a/github-actions/entrypoint.sh b/github-actions/entrypoint.sh index 2784b01..5f28005 100755 --- a/github-actions/entrypoint.sh +++ b/github-actions/entrypoint.sh @@ -1,5 +1,10 @@ #!/bin/bash +set -ue + +echo ${INPUT_ROLE_ARN} > aaa +cat aaa + eval "$(/awscredswrap --role-arn ${INPUT_ROLE_ARN} --role-session-name ${INPUT_ROLE_SESSION_NAME} --duration-seconds ${INPUT_DURATION_SECONDS})" echo ::add-mask::${AWS_ACCESS_KEY_ID}