From 7ce53221c8ef35f8b489da24dd02ddc2ac1a136c Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 1 Oct 2020 15:12:46 -0400 Subject: [PATCH] run pre-commit --- main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index 174fc1a..3d50a9b 100644 --- a/main.tf +++ b/main.tf @@ -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] } @@ -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" {