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, "/") } }