Skip to content

Instantly share code, notes, and snippets.

@davetownsend
Last active October 24, 2020 17:27
Show Gist options
  • Save davetownsend/f3eb6ca3a719535813d05a493fe1aaf7 to your computer and use it in GitHub Desktop.
Save davetownsend/f3eb6ca3a719535813d05a493fe1aaf7 to your computer and use it in GitHub Desktop.
Get Deploy Role ARN
pre_build:
commands:
- yum install epel-release -y
- yum install jq -y
- param_name=/myapp/$STAGE/deploy_role
- DEPLOY_ROLE=$(aws ssm get-parameter --name $param_name | jq ".Parameter.Value" | tr -d \")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment