Skip to content

Commit

Permalink
Update main.tf to ensure bucket access for nodes (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyWills authored Jun 12, 2024
1 parent c93a2ff commit 3153da3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ resource "aws_iam_role" "sandbox_iam_role" {
},
"Effect" : "Allow",
"Sid" : ""
},
{
"Sid": "ListObjectsInBucket",
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": ["arn:aws:s3:::ioos-coastalsb-*puts"]
},
{
"Sid": "AllObjectActions",
"Effect": "Allow",
"Action": "s3:*Object",
"Resource": ["arn:aws:s3:::ioos-coastalsb-*puts/*"]
}
]
})
Expand Down

0 comments on commit 3153da3

Please sign in to comment.