Skip to content

Commit

Permalink
fix: add to readme required ec2:DescribeRegions permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Insidexa committed Aug 6, 2022
1 parent cacff76 commit e87d5af
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ so that it can call the EC2 metadata API itself.

### IAM roles

It is necessary to create an IAM role which can assume other roles and assign it to each kubernetes worker.
It is necessary to create an IAM role which can assume other roles and assign it to each kubernetes worker and list regions.
List regions required permissions because aws-go-sdk-v2 doesn't include regions list.

```
{
Expand All @@ -45,7 +46,14 @@ It is necessary to create an IAM role which can assume other roles and assign it
],
"Effect": "Allow",
"Resource": "*"
}
},
{
"Action": [
"ec2:DescribeRegions"
],
"Effect": "Allow",
"Resource": "*"
},
]
}
```
Expand Down

0 comments on commit e87d5af

Please sign in to comment.