From c22368813747abce07dab98a24e191d500027837 Mon Sep 17 00:00:00 2001 From: Sumanth Reddy Chinna Pullaiah Date: Mon, 3 Jun 2024 16:47:55 +0000 Subject: [PATCH] test tfsec --- .github/workflows/security-scan.yml | 3 ++- modules/terraform/aws/data-disk/main.tf | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index 3701c6019..ce0eabcca 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -17,4 +17,5 @@ jobs: - name: tfsec uses: aquasecurity/tfsec-pr-commenter-action@v1.2.0 with: - github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} + working_directory: '' \ No newline at end of file diff --git a/modules/terraform/aws/data-disk/main.tf b/modules/terraform/aws/data-disk/main.tf index 11286c622..963f981b0 100644 --- a/modules/terraform/aws/data-disk/main.tf +++ b/modules/terraform/aws/data-disk/main.tf @@ -10,7 +10,7 @@ resource "aws_ebs_volume" "data_disk" { iops = var.data_disk_iops_read_write throughput = var.data_disk_mbps_read_write - encrypted = true - kms_key_id = aws_kms_key.ebs_encryption.id - tags = var.tags + # encrypted = true + # kms_key_id = aws_kms_key.ebs_encryption.id + tags = var.tags }