Skip to content

Commit

Permalink
run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 1, 2020
1 parent 93bd3e8 commit 7ce5322
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ data "aws_iam_policy_document" "this" {
# apply policy to bucket and public access block policy to bucket
#---
resource "aws_s3_bucket_policy" "policy" {
bucket = aws_s3_bucket.this.bucket
policy = data.aws_iam_policy_document.this.json
bucket = aws_s3_bucket.this.bucket
policy = data.aws_iam_policy_document.this.json
depends_on = [null_resource.policy_delay]
}

Expand All @@ -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_on = [aws_s3_bucket_policy.policy ]
depends_on = [aws_s3_bucket_policy.policy]
}

resource "null_resource" "policy_delay" {
Expand Down

0 comments on commit 7ce5322

Please sign in to comment.