Skip to content

Commit 229172f

Browse files
authored
fix(response actions) The respond "S3 Remove Public Access" fails when Block Public Access settings are deleted. (#110)
1 parent a0d2233 commit 229172f

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

modules/response-actions/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ data "aws_organizations_organization" "org" {
2525
}
2626

2727
locals {
28-
response_actions_version = "1.0.2"
28+
response_actions_version = "1.0.3"
2929

3030
# fetch the AWS Root OU under org
3131
# As per https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#organization-structure, there can be only one root

modules/response-actions/policies/configure-resource-access-policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"Effect": "Allow",
66
"Action": [
77
"s3:GetBucketLocation",
8+
"s3:DeletePublicAccessBlock",
89
"s3:GetBucketPublicAccessBlock",
910
"s3:PutBucketPublicAccessBlock",
1011
"s3:ListAllMyBuckets"

modules/response-actions/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ variable "api_base_url" {
9595
}
9696

9797
variable "response_actions_version" {
98-
description = "Deprecated: this variable is no longer used. The version is hardcoded to 1.0.2."
98+
description = "Deprecated: this variable is no longer used. The version is hardcoded to 1.0.3."
9999
type = string
100100
default = null
101101
nullable = true

0 commit comments

Comments
 (0)