From 917f95e0ca0259c20464e3f2730c936442e96fa9 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 8 Sep 2023 13:10:10 -0400 Subject: [PATCH] update --- .pre-commit-config.yaml | 6 +++--- permissionset/main.tf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93cda0b..fa6d366 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,9 +9,9 @@ repos: exclude: common/*.tf exclude: version.tf exclude: examples/ - - id: terraform_tflint - args: [ "--args=--config=__GIT_WORKING_DIR__/.tflint.hcl"] - exclude: examples/ +# - id: terraform_tflint +# args: [ "--args=--config=__GIT_WORKING_DIR__/.tflint.hcl"] +# exclude: examples/ - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: diff --git a/permissionset/main.tf b/permissionset/main.tf index 65e310d..7316e0c 100644 --- a/permissionset/main.tf +++ b/permissionset/main.tf @@ -33,7 +33,7 @@ resource "aws_ssoadmin_customer_managed_policy_attachment" "pset" { customer_managed_policy_reference { name = each.key - path = one(each.value, "/") + path = coalesce(each.value, "/") } }