Skip to content

Commit

Permalink
remove delay
Browse files Browse the repository at this point in the history
  • Loading branch information
ashle001 committed Sep 24, 2020
1 parent 49f36d7 commit ad4058e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ data "aws_iam_policy_document" "this" {
#---
# apply policy to bucket and public access block policy to bucket
#---
resource "aws_s3_bucket_policy" "this" {
resource "aws_s3_bucket_policy" "policy" {
bucket = aws_s3_bucket.this.bucket
policy = data.aws_iam_policy_document.this.json
depends_on = [null_resource.policy_delay]
#depends_on = [null_resource.policy_delay]
}

resource "aws_s3_bucket_public_access_block" "this" {
Expand Down

0 comments on commit ad4058e

Please sign in to comment.