Skip to content

Commit

Permalink
LAWS-3627: Remove s3 reports bucket iam policy
Browse files Browse the repository at this point in the history
  • Loading branch information
vc13837 committed Feb 9, 2024
1 parent c798969 commit 8357e6f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions terraform/environments/maat/artifacts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module "artifacts-s3" {
}

bucket_prefix = "${local.application_name}-build-artifacts"
bucket_policy = [data.aws_iam_policy_document.arfitacts.json]
replication_enabled = false
versioning_enabled = true
force_destroy = true
Expand Down Expand Up @@ -36,20 +35,3 @@ module "artifacts-s3" {
tags = local.tags
}

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"]
# }
# }

}

0 comments on commit 8357e6f

Please sign in to comment.