gcloud beta terraform vet

NAME
gcloud beta terraform vet - validate that a terraform plan complies with policies
SYNOPSIS
gcloud beta terraform vetTERRAFORM_PLAN_JSON--policy-library=POLICY_LIBRARY[--region=REGION][--zone=ZONE][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:
gcloudbetaterraformvettfplan.json--policy-library=/my/policy/library
POSITIONAL ARGUMENTS
TERRAFORM_PLAN_JSON
File which contains a JSON export of a terraform plan. This file will bevalidated against the given policy library.
REQUIRED FLAGS
--policy-library=POLICY_LIBRARY
Directory which contains a policy library
OPTIONAL FLAGS
--region=REGION
Default region to use for resources that do not have one set
--zone=ZONE
Default zone to use for resources that do not have one set
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 variantis also available:
gcloudalphaterraformvet

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.