Skip to content

Commit

Permalink
fix: specify profile name in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanholsteijn committed Sep 18, 2023
1 parent 2c645a0 commit d238c58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions terraform/templates/gitlab-ci.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d238c58

Please sign in to comment.