Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Commit

Permalink
adding default profile for copilot
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Jun 8, 2021
1 parent 051dcd8 commit 58efc21
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/migration/software.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,12 @@ chmod +x copilot && \
sudo mv copilot /usr/local/bin/copilot &&\
copilot --help
cat << EOF > ~/.aws/config
[default]
region = ${AWS_DEFAULT_REGION}
output = json
role_arn = $(aws iam get-role --role-name ecsworkshop-admin | jq -r .Role.Arn)
credential_source = Ec2InstanceMetadata
EOF
```

0 comments on commit 58efc21

Please sign in to comment.