Skip to content

Commit 43abb81

Browse files
authored
Merge branch 'main' into bugfix/eja-eli-388-enable-audit-logging-by-adding-permissions
2 parents 3f438b2 + 0f07e27 commit 43abb81

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

infrastructure/stacks/api-layer/s3_buckets.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,3 @@ module "s3_audit_bucket" {
1616
stack_name = local.stack_name
1717
workspace = terraform.workspace
1818
}
19-
20-
resource "aws_s3_account_public_access_block" "block_public_access" {
21-
block_public_acls = true
22-
block_public_policy = true
23-
}

infrastructure/stacks/iams-developer-roles/github_actions_policies.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,6 @@ resource "aws_iam_policy" "s3_management" {
164164
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-truststore-access-logs",
165165
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-truststore-access-logs/*",
166166
]
167-
},
168-
{
169-
Effect = "Allow",
170-
Action = [
171-
"s3:GetAccountPublicAccessBlock",
172-
"s3:PutAccountPublicAccessBlock"
173-
],
174-
Resource = "*"
175167
}
176168
]
177169
})

0 commit comments

Comments
 (0)