From aa7852f0958c3196a3e397e4243a93478cbbd9ef Mon Sep 17 00:00:00 2001 From: Ari Kalfus Date: Sat, 1 Oct 2022 17:47:21 +0000 Subject: [PATCH] chore: fix brew eval in CI --- .github/workflows/pr.yml | 1 + README.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d5ae9b5..5b62d12 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -65,6 +65,7 @@ jobs: # Need Bash 5 for terraform fmt in pre-commit hook # Nead realpath command for terraform_fmt which we get via coreutils run: | + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" brew install bash coreutils terraform-docs tfsec pre-commit - name: Run Pre-Commit diff --git a/README.md b/README.md index 40b7b85..06e8c60 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,9 @@ conditions the respective repository should be granted access. This is encapsulated by the `oidc_bindings` variable. > **Note** +> > v2 of this module adopts Terraform 1.3's standardized support of [optional object type attributes](https://www.terraform.io/language/expressions/type-constraints#optional-object-type-attributes). -> Therefore, Terraform 1.3+ is required. +> Therefore, Terraform 1.3+ is required to use v2.0.0 or higher of this module. > > Users of Terraform 1.2 or earlier can use v1.1.0 of this module with the [`module_variable_optional_attrs`](https://www.terraform.io/language/v1.2.x/expressions/type-constraints#experimental-optional-object-type-attributes) experimental feature enabled.