Skip to content

Commit

Permalink
fixing missing bucket attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Chamon Araujo committed Jun 9, 2020
1 parent 5b55554 commit 51b7da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 51b7da9

Please sign in to comment.