Skip to content

Commit 3a9f302

Browse files
authored
Update aws.md add admin note
1 parent 50d2b86 commit 3a9f302

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/providers/aws/aws.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ $ export DEFANG_PROVIDER=aws
2929
```
3030

3131
:::warning
32+
Because Defang creates roles, you need to have the appropriate permissions to create roles in your cloud provider account, typically the `AdministratorAccess` policy in AWS.
33+
:::
34+
35+
:::tip
3236
The Defang CLI does not depend on the AWS CLI. It uses the [AWS SDK for Go](https://aws.amazon.com/sdk-for-go/) to interact with your AWS account. In most cases, if you can run the `aws sts get-caller-identity` from the tip above, you should be good to go. However, due to a difference between the AWS CLI and the AWS SDK for Go, there is at least one case where they behave differently: if you are using `aws sso login` and have clashing profiles in your `.aws/config` and `.aws/credentials` files, the AWS CLI will prioritize SSO profiles and caches over regular profiles, but the AWS SDK for Go will prioritize the credentials file, and it may fail.
3337
:::
3438

0 commit comments

Comments
 (0)