From cd0a1232190af65376e888ef6809abb7d5041ee3 Mon Sep 17 00:00:00 2001 From: ashle001 Date: Fri, 25 Sep 2020 11:49:06 -0400 Subject: [PATCH] add delay on block access --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 1c9505e..8ec6cc1 100644 --- a/main.tf +++ b/main.tf @@ -134,6 +134,7 @@ resource "aws_s3_bucket_public_access_block" "this" { block_public_policy = true ignore_public_acls = true restrict_public_buckets = true + depends = [aws_s3_bucket_policy.policy ] } resource "null_resource" "policy_delay" {