1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00
gcloud-help/gcloud/beta/terraform/vet
2022-04-06 08:36:53 +00:00

41 lines
1.3 KiB
Text

NAME
gcloud beta terraform vet - validate that a terraform plan complies with
policies
SYNOPSIS
gcloud beta terraform vet TERRAFORM_PLAN_JSON
--policy-library=POLICY_LIBRARY [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Validate that a terraform plan complies with policies.
EXAMPLES
To validate that a terraform plan complies with a policy library at
/my/policy/library:
$ gcloud beta terraform vet tfplan.json \
--policy-library=/my/policy/library
POSITIONAL ARGUMENTS
TERRAFORM_PLAN_JSON
File which contains a JSON export of a terraform plan. This file will
be validated against the given policy library.
REQUIRED FLAGS
--policy-library=POLICY_LIBRARY
Directory which contains a policy library
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud alpha terraform vet