diff --git a/common/resources.tf b/common/resources.tf index 12424b2..03f86ba 100644 --- a/common/resources.tf +++ b/common/resources.tf @@ -180,7 +180,7 @@ resource "aws_s3_bucket_policy" "policy" { bucket = aws_s3_bucket.this.bucket # policy = data.aws_iam_policy_document.this.json policy = data.aws_iam_policy_document.bucket_policy_combined.json - depends_on = [null_resource.policy_delay] + depends_on = [time_sleep.policy_delay] } resource "aws_s3_bucket_public_access_block" "this" {