From 9a183e1ae2c3997d4028464064445a1a0633c3a7 Mon Sep 17 00:00:00 2001 From: lovely Date: Fri, 19 Jan 2024 16:15:21 +0530 Subject: [PATCH] fix: fixed tfsec --- .github/workflows/tfsec.yml | 2 +- _example/complete/example.tf | 1 - variables.tf | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml index 9822a67..418ce1c 100644 --- a/.github/workflows/tfsec.yml +++ b/.github/workflows/tfsec.yml @@ -8,4 +8,4 @@ jobs: uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@1.2.1 secrets: inherit with: - working_directory: '_example/basic/' \ No newline at end of file + working_directory: '.' \ No newline at end of file diff --git a/_example/complete/example.tf b/_example/complete/example.tf index e07b509..bdd689d 100644 --- a/_example/complete/example.tf +++ b/_example/complete/example.tf @@ -93,7 +93,6 @@ module "vault" { subnet_id = module.subnet.default_subnet_id[0] enable_rbac_authorization = true enabled_for_disk_encryption = false - network_acls = null #private endpoint enable_private_endpoint = false ########Following to be uncommnented only when using DNS Zone from different subscription along with existing DNS zone. diff --git a/variables.tf b/variables.tf index ff5cc6b..ee3bb68 100644 --- a/variables.tf +++ b/variables.tf @@ -303,7 +303,7 @@ variable "key_vault_id" { variable "expiration_date" { type = string - default = null + default = "2024-05-22T18:29:59Z" description = "Expiration UTC datetime (Y-m-d'T'H:M:S'Z')" }