Skip to content

Commit

Permalink
Allow the TFC role to do iam:PassRole to S3 services
Browse files Browse the repository at this point in the history
  • Loading branch information
samsimpson1 committed Apr 17, 2024
1 parent a3e827e commit 456a50e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion terraform/deployments/tfc-aws-config/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ data "aws_iam_policy_document" "tfc_policy" {
condition {
test = "StringEquals"
variable = "iam:PassedToService"
values = ["eks.amazonaws.com"]
values = [
"eks.amazonaws.com",
"s3.amazonaws.com"
]
}
}
statement {
Expand Down

0 comments on commit 456a50e

Please sign in to comment.