From 14b421819e56669a3f03d2cb6efe981a9d140dac Mon Sep 17 00:00:00 2001 From: Isabel Restrepo Date: Thu, 10 Jun 2021 22:26:00 -0400 Subject: [PATCH 1/2] docs: hook updates to README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index adce559..d721dc3 100644 --- a/README.md +++ b/README.md @@ -37,14 +37,12 @@ code by adding a `module` configuration and setting its `source` parameter to UR | Name | Version | |------|---------| -| terraform | >= 0.12 | +| terraform | >= 1.0 | | google | >= 3.0, <4.0.0 | ## Providers -| Name | Version | -|------|---------| -| google | >= 3.0, <4.0.0 | +No provider. ## Inputs @@ -98,6 +96,7 @@ And now you're ready to run test kitchen. Test kitchen has a couple main command - `bundle exec kitchen create` initializes terraform. - `bundle exec kitchen converge` runs our terraform examples. - `bundle exec kitchen verify` runs our inspec scripts against a converged kitchen. +- `bundle exec kitchen destroy` destroys infrastructure. - `bundle exec kitchen test` does all the above. From 8127433164cc2771e4dda3ca07d1bdcfedc15f76 Mon Sep 17 00:00:00 2001 From: Isabel Restrepo Date: Thu, 10 Jun 2021 22:26:25 -0400 Subject: [PATCH 2/2] chore: up version of precommit hooks --- .pre-commit-config.yaml | 2 +- main.tf | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d71ad41..789bf29 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: git://github.com/antonbabenko/pre-commit-terraform - rev: v1.31.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases + rev: v1.50.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt - id: terraform_docs diff --git a/main.tf b/main.tf index 8de1e3b..6fa46e4 100644 --- a/main.tf +++ b/main.tf @@ -36,7 +36,4 @@ module "projects_iam_bindings" { "serviceAccount:${module.project.service_account_email}" ] } - depends_on = [ - module.project, - ] }