GoogleCloudPlatform / terraform-example-foundation-app

https://registry.terraform.io/modules/GoogleCloudPlatform/terraform-example-foundation-app/google
Apache License 2.0
33 stars 36 forks source link

Terraform-validartor instruction should use the same version used in the foundation #42

Closed daniel-cit closed 3 years ago

daniel-cit commented 3 years ago

Expected Behavior

Instruction in https://github.com/GoogleCloudPlatform/terraform-example-foundation-app/tree/main/foundation-extension/4-projects#tf-validate-optional should use a fixed terraform-validator version:

To use the `validate` option of the `tf-wrapper.sh` script, please follow the [instructions](https://github.com/forseti-security/policy-library/blob/master/docs/user_guide.md#install-terraform-validator) in the **Install Terraform Validator** section and install version `2021-03-22` in your system. You will also need to rename the binary from `terraform-validator-<your-platform>` to `terraform-validator` and the `terraform-validator` binary must be in your `PATH`.

Actual Behavior

To use the `validate` option of the `tf-wrapper.sh` script, the latest version of `terraform-validator` must be [installed](https://github.com/forseti-security/policy-library/blob/master/docs/user_guide.md#how-to-use-terraform-validator) in your system and in you `PATH`.

Steps to Reproduce the Problem

1. 1. 1.

Specifications