Skip to content

Commit

Permalink
Remove iam policy to allow gha access
Browse files Browse the repository at this point in the history
  • Loading branch information
vc13837 committed Feb 9, 2024
1 parent 640d2cb commit c798969
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions terraform/environments/maat/artifacts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ module "artifacts-s3" {
}

data "aws_iam_policy_document" "arfitacts" {
statement {
effect = "Allow"
actions = [
"s3:PutObject"
]
resources = [
"${module.artifacts-s3.bucket.arn}/*"
]
principals {
type = "AWS"
identifiers = ["arn:aws:iam::${local.env_account_id}:role/modernisation-platform-oidc-cicd"]
}
}
# statement {
# effect = "Allow"
# actions = [
# "s3:PutObject"
# ]
# resources = [
# "${module.artifacts-s3.bucket.arn}/*"
# ]
# principals {
# type = "AWS"
# identifiers = ["arn:aws:iam::${local.env_account_id}:role/modernisation-platform-oidc-cicd"]
# }
# }

}

0 comments on commit c798969

Please sign in to comment.