Skip to content

Commit

Permalink
Switch to single quotes for echo
Browse files Browse the repository at this point in the history
  • Loading branch information
kobl1nhs committed Mar 11, 2024
1 parent 1c0b8e2 commit 1f3c803
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ vars:
TEMP_ROLE:
sh: aws sts assume-role --role-arn arn:aws:iam::$AWS_ACCOUNT_ID_NONPROD:role/uec-sf-jenkins-assume-role --role-session-name AWSCLI-Session --duration-seconds 3600
AWS_ACCESS_KEY_ID:
sh: echo "{{.TEMP_ROLE}}" | jq -r '.Credentials.AccessKeyId'
sh: echo '{{.TEMP_ROLE}}' | jq -r '.Credentials.AccessKeyId'
AWS_SECRET_ACCESS_KEY:
sh: echo "{{.TEMP_ROLE}}" | jq -r '.Credentials.SecretAccessKey'
sh: echo '{{.TEMP_ROLE}}' | jq -r '.Credentials.SecretAccessKey'
AWS_SESSION_TOKEN:
sh: echo "{{.TEMP_ROLE}}" | jq -r '.Credentials.SessionToken'
sh: echo '{.TEMP_ROLE}}' | jq -r '.Credentials.SessionToken'
CONFIG:
sh: aws secretsmanager get-secret-value --profile AWSCLI-Session --secret-id uec-sf-sfrunner/deployment --region {{.AWS_REGION}} --output json | jq -r '.SecretString | fromjson'
ECR_HOST:
Expand Down

0 comments on commit 1f3c803

Please sign in to comment.