Skip to content

Commit 1986daa

Browse files
authored
fix: Remove ACL in analytics, inventory, and replication examples (#292)
1 parent d8ad14f commit 1986daa

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

examples/s3-analytics/main.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ module "analytics_configuration_bucket" {
2424
attach_analytics_destination_policy = true
2525
attach_policy = true
2626
analytics_self_source_destination = true
27-
acl = "private" # "acl" conflicts with "grant" and "owner"
2827

2928
versioning = {
3029
status = true
@@ -77,7 +76,6 @@ module "analytics_destination_bucket" {
7776
source = "../../"
7877

7978
bucket = "analytics-destination-${random_pet.this.id}"
80-
acl = "private" # "acl" conflicts with "grant" and "owner"
8179
force_destroy = true
8280
attach_policy = true
8381
attach_analytics_destination_policy = true
@@ -92,7 +90,6 @@ module "inventory_source_bucket" {
9290
bucket = "inventory-source-${random_pet.this.id}"
9391

9492
force_destroy = true
95-
acl = "private" # "acl" conflicts with "grant" and "owner"
9693

9794
inventory_configuration = {
9895
destination_other = {
@@ -115,7 +112,6 @@ module "analytics_and_inventory_destination_bucket" {
115112
source = "../../"
116113

117114
bucket = "analytics-and-inventory-destination-${random_pet.this.id}"
118-
acl = "private" # "acl" conflicts with "grant" and "owner"
119115
force_destroy = true
120116
attach_policy = true
121117

examples/s3-inventory/main.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ module "multi_inventory_configurations_bucket" {
2424
attach_policy = true
2525
attach_inventory_destination_policy = true
2626
inventory_self_source_destination = true
27-
acl = "private" # "acl" conflicts with "grant" and "owner"
2827

2928
versioning = {
3029
status = true
@@ -137,7 +136,6 @@ module "inventory_destination_bucket" {
137136
source = "../../"
138137

139138
bucket = "inventory-destination-${random_pet.this.id}"
140-
acl = "private" # "acl" conflicts with "grant" and "owner"
141139
force_destroy = true
142140
attach_policy = true
143141
attach_inventory_destination_policy = true
@@ -149,6 +147,5 @@ module "inventory_source_bucket" {
149147
source = "../../"
150148

151149
bucket = "inventory-source-${random_pet.this.id}"
152-
acl = "private" # "acl" conflicts with "grant" and "owner"
153150
force_destroy = true
154151
}

examples/s3-replication/main.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ provider "aws" {
1616
skip_metadata_api_check = true
1717
skip_region_validation = true
1818
skip_credentials_validation = true
19-
skip_requesting_account_id = true
2019
}
2120

2221
locals {
@@ -47,7 +46,6 @@ module "replica_bucket" {
4746
}
4847

4948
bucket = local.destination_bucket_name
50-
acl = "private"
5149

5250
versioning = {
5351
enabled = true
@@ -58,7 +56,6 @@ module "s3_bucket" {
5856
source = "../../"
5957

6058
bucket = local.bucket_name
61-
acl = "private"
6259

6360
versioning = {
6461
enabled = true

0 commit comments

Comments
 (0)