diff --git a/main.tf b/main.tf index 8ec6cc1..8acf12a 100644 --- a/main.tf +++ b/main.tf @@ -134,7 +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 ] + depends_on = [aws_s3_bucket_policy.policy ] } resource "null_resource" "policy_delay" {