Skip to content

Commit

Permalink
docs: add missing S3 permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap authored and mvo5 committed Jan 29, 2025
1 parent 9270d2e commit 089b467
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,26 @@ Note that when no value is given the progress is auto-detected baed on the envir

#### Prerequisites

In order to successfully import an AMI into your AWS account, you need to have the [vmimport service role](https://docs.aws.amazon.com/vm-import/latest/userguide/required-permissions.html) configured on your account.
In order to successfully import an AMI into your AWS account, you need to have the [vmimport service role](https://docs.aws.amazon.com/vm-import/latest/userguide/required-permissions.html) configured on your account with the following additional permissions:

```
{
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets",
"s3:GetBucketAcl",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::amzn-s3-demo-import-bucket",
"arn:aws:s3:::amzn-s3-demo-import-bucket/*",
"arn:aws:s3:::amzn-s3-demo-export-bucket",
"arn:aws:s3:::amzn-s3-demo-export-bucket/*"
]
},
```

Replace `amzn-s3-demo-import-bucket` in the ARN with the bucket name.

#### Flags

Expand Down

0 comments on commit 089b467

Please sign in to comment.