From 51b7da9680f140461a00ab6c9130cad9801ade81 Mon Sep 17 00:00:00 2001 From: Gabriel Chamon Araujo Date: Tue, 9 Jun 2020 15:03:01 -0300 Subject: [PATCH] fixing missing bucket attribute --- s3.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3.tf b/s3.tf index 6607e1d..5d7a7b8 100644 --- a/s3.tf +++ b/s3.tf @@ -15,7 +15,7 @@ resource "aws_s3_bucket_policy" "public-antivirus-definitions" { : 0 ) - bucket = aws_s3_bucket.antivirus-definitions + bucket = aws_s3_bucket.antivirus-definitions.bucket policy = templatefile( "${path.module}/policies/bucket-antivirus-definitions.json.tmpl",