diff --git a/terraform/templates/gitlab-ci.yaml.template b/terraform/templates/gitlab-ci.yaml.template index a4b95a7..f3534bf 100644 --- a/terraform/templates/gitlab-ci.yaml.template +++ b/terraform/templates/gitlab-ci.yaml.template @@ -52,9 +52,10 @@ aws-profile-demo: GITLAB_AWS_IDENTITY_TOKEN: aud: https://gitlab.com script: + - aws sts get-caller-identity - ./gitlab-aws-credential-helper aws-profile - cat $HOME/.aws/credentials # just for demo purposes - - aws sts get-caller-identity + - aws --profile default sts get-caller-identity credential-process-demo: stage: build @@ -69,7 +70,7 @@ credential-process-demo: script: - aws configure set credential_process "$PWD/gitlab-aws-credential-helper process" - ./gitlab-aws-credential-helper process # just for demo purposes - - aws sts get-caller-identity + - aws --profile default sts get-caller-identity env-exec-demo: stage: build