terraform-validator

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Terraform Validator

Terraform Validator is a tool for validating compliance with organizational policies prior to applying a terraform plan. It can be used either as a standalone tool or in conjunction with Forseti or other policy enforcement tooling. Terraform Validator relies on policies that are compatible with Config Validator. For examples, see the Policy Library.

Terraform Validator is compatible with Terraform 0.12+.

Note: Using Terraform Validator does not require an active installation of Forseti. Terraform Validator is a self-contained binary.

Supported Terraform resources

To list the Terraform resources supported by your binary, run:

terraform-validator list-supported-resources

You can also view a list of supported resources in your browser.

If you want terraform validator to add support for a resource, please open an enhancement request or follow the instructions below to contribute code.

Getting started

For instructions on downloading a binary for use on your development machine or CI/CD pipeline, please read the user guide.

If you want to contribute to Terraform Validator, check out the contribution guidelines and read the Getting started docs.

Adding support for a new resource

See Adding support for a new resource.

Disclaimer

This is not an officially supported Google product.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package ancestrymanager provides an interface to query the ancestry information for a project.
Package ancestrymanager provides an interface to query the ancestry information for a project.
converters
google
In order to interact with terraform-google-conversion, we need to be able to create "terraform resource data" that supports a very limited subset of the API actually used during the conversion process.
In order to interact with terraform-google-conversion, we need to be able to create "terraform resource data" that supports a very limited subset of the API actually used during the conversion process.
Package tfgcv pulls together the other packages in this project to take a terraform plan, extract the planned resources in Google CAI format, and run those CAI assets through the Forseti Config Validator.
Package tfgcv pulls together the other packages in this project to take a terraform plan, extract the planned resources in Google CAI format, and run those CAI assets through the Forseti Config Validator.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL