Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamraj Yadav committed Apr 8, 2022
1 parent 1d295c5 commit e145290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
cd ${{ matrix.directory }}
terraform init
terraform validate
terraform plan -input=false -no-color
- name: tflint
uses: reviewdog/action-tflint@master
Expand Down
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module "labels" {
# Module : S3 BUCKET
# Description : Terraform module to create S3 bucket with different combination
# type specific features.
#tfsec:ignore:aws-s3-enable-bucket-encryption
resource "aws_s3_bucket" "s3_default" {
count = var.create_bucket == true ? 1 : 0

Expand Down Expand Up @@ -464,6 +465,7 @@ locals {

}

#tfsec:ignore:aws-s3-block-public-acls
resource "aws_s3_bucket_public_access_block" "this" {
count = var.create_bucket && var.attach_public_policy ? 1 : 0

Expand Down

0 comments on commit e145290

Please sign in to comment.