Skip to content

Commit

Permalink
Add depends_on to aws_s3_bucket_policy resources
Browse files Browse the repository at this point in the history
  • Loading branch information
lgallard committed Aug 24, 2021
1 parent 1f1cd04 commit 721bb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bucket_replication.tf
Expand Up @@ -123,6 +123,6 @@ resource "aws_s3_bucket_policy" "bucket_replication" {
}
POLICY

depends_on = [aws_s3_bucket.replication_bucket]
depends_on = [aws_s3_bucket.replication_bucket, aws_s3_bucket_public_access_block.default]

}

0 comments on commit 721bb69

Please sign in to comment.