Skip to content

Commit d296b7c

Browse files
authored
docs: Wrong definition of s3 grant in example (#75)
1 parent 288e836 commit d296b7c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/complete/main.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,13 @@ module "log_bucket" {
185185
bucket = "logs-${random_pet.this.id}"
186186
acl = null
187187
grant = [{
188-
type = "CanonicalUser"
189-
permissions = ["FULL_CONTROL"]
190-
id = data.aws_canonical_user_id.current.id
188+
type = "CanonicalUser"
189+
permission = "FULL_CONTROL"
190+
id = data.aws_canonical_user_id.current.id
191191
}, {
192-
type = "CanonicalUser"
193-
permissions = ["FULL_CONTROL"]
194-
id = "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0"
192+
type = "CanonicalUser"
193+
permission = "FULL_CONTROL"
194+
id = "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0"
195195
# Ref. https://github.com/terraform-providers/terraform-provider-aws/issues/12512
196196
# Ref. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html
197197
}]

0 commit comments

Comments
 (0)