Skip to content

Commit

Permalink
2.191.0
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Oct 25, 2024
1 parent ca83ee7 commit d792e97
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 8 additions & 1 deletion aws_v2/modules/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,14 @@ resource "aws_iam_role_policy" "policy" {
{
"Sid": "RequiredForS3Import",
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Action": [
"s3:ListAllMyBuckets",
"s3:GetObject",
"s3:RestoreObject",
"s3:GetObjectTagging",
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": "*"
},
{
Expand Down
8 changes: 7 additions & 1 deletion cross-account/CrossAccountPolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ Statement:
- arn:aws:ssm:*::document/AWS-RunPowerShellScript
- Sid: RequiredForS3Import
Effect: Allow
Action: s3:ListAllMyBuckets
Action:
- s3:ListAllMyBuckets
- s3:GetObject
- s3:RestoreObject
- s3:GetObjectTagging
- s3:ListBucket
- s3:GetBucketLocation
Resource: '*'
- Sid: RequiredForKmsEncryptedEc2Import
Effect: Allow
Expand Down

0 comments on commit d792e97

Please sign in to comment.