Skip to content

Commit

Permalink
🎨 (Lint): Lint code
Browse files Browse the repository at this point in the history
terraform fmt
  • Loading branch information
brunodasilvalenga committed Jan 23, 2024
1 parent 9199c9a commit 179c4d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "aws_s3_bucket_acl" "vpn" {
depends_on = [aws_s3_bucket_ownership_controls.vpn]

bucket = aws_s3_bucket.vpn.id
acl = "private"
acl = "private"
}

resource "aws_s3_bucket_ownership_controls" "vpn" {
Expand All @@ -17,9 +17,9 @@ resource "aws_s3_bucket_ownership_controls" "vpn" {
}

resource "aws_s3_bucket_policy" "vpn" {
count = var.s3_bucket_policy != "" ? 1 : 0
count = var.s3_bucket_policy != "" ? 1 : 0
bucket = aws_s3_bucket.vpn.id
policy = var.s3_bucket_policy
policy = var.s3_bucket_policy
}

resource "aws_s3_bucket_public_access_block" "vpn" {
Expand Down

0 comments on commit 179c4d5

Please sign in to comment.