diff --git a/terraform/environments/maat/artifacts.tf b/terraform/environments/maat/artifacts.tf index 6db1af5f88e..2a6d9a4f02e 100644 --- a/terraform/environments/maat/artifacts.tf +++ b/terraform/environments/maat/artifacts.tf @@ -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 @@ -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"] - # } - # } - -} -