From f9ce2fc307c5ac4eef71fa5823c13bb7ea545ffb Mon Sep 17 00:00:00 2001 From: Magaming Date: Wed, 22 Jun 2022 17:19:16 +0900 Subject: [PATCH] docs: fix wrong definition of s3 grant in example --- examples/complete/main.tf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/complete/main.tf b/examples/complete/main.tf index fe3df70..ec59616 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -185,13 +185,13 @@ module "log_bucket" { bucket = "logs-${random_pet.this.id}" acl = null grant = [{ - type = "CanonicalUser" - permissions = ["FULL_CONTROL"] - id = data.aws_canonical_user_id.current.id + type = "CanonicalUser" + permission = "FULL_CONTROL" + id = data.aws_canonical_user_id.current.id }, { - type = "CanonicalUser" - permissions = ["FULL_CONTROL"] - id = "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0" + type = "CanonicalUser" + permission = "FULL_CONTROL" + id = "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0" # Ref. https://github.com/terraform-providers/terraform-provider-aws/issues/12512 # Ref. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html }]