Skip to content

Commit

Permalink
Merge branch 'aws-t26-s3' of github.e.it.census.gov:terraform-modules…
Browse files Browse the repository at this point in the history
…/aws-t26-s3 into aws-t26-s3
  • Loading branch information
ashle001 committed Oct 1, 2020
2 parents a356b49 + 7ce5322 commit 25f23dc
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 25f23dc

Please sign in to comment.