Skip to content

Commit e690d33

Browse files
authored
Merge pull request #454 from rust-lang/add-aws-cli-tip
docs: add aws cli tip
2 parents 5a1ad9f + 6d549c8 commit e690d33

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

terragrunt/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,14 @@ You can then `cd` into the corresponding service within the `accounts` directory
157157
and run `terragrunt plan` to see the plan terraform will apply and
158158
`terragrunt apply` to actually apply the plan.
159159

160+
## AWS CLI
161+
162+
If you get a 403 when you run commands with the AWS CLI,
163+
append the `--profile <profile>` flag to the command. For example:
164+
165+
```sh
166+
aws s3 cp s3://staging-crates-io-downloads-archive/2023-11-11.csv . --profile crates-io-staging
167+
```
168+
160169
[terraform]: https://www.terraform.io/
161170
[terragrunt]: https://terragrunt.gruntwork.io/

0 commit comments

Comments
 (0)