File: //snap/google-cloud-cli/396/help/man/man1/gcloud_beta_terraform_vet.1
.TH "GCLOUD_BETA_TERRAFORM_VET" 1
.SH "NAME"
.HP
gcloud beta terraform vet \- validate that a terraform plan complies with policies
.SH "SYNOPSIS"
.HP
\f5gcloud beta terraform vet\fR \fITERRAFORM_PLAN_JSON\fR \fB\-\-policy\-library\fR=\fIPOLICY_LIBRARY\fR [\fB\-\-region\fR=\fIREGION\fR] [\fB\-\-zone\fR=\fIZONE\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR Validate that a terraform plan complies with policies.
.SH "EXAMPLES"
To validate that a terraform plan complies with a policy library at
\f5/my/policy/library\fR:
.RS 2m
$ gcloud beta terraform vet tfplan.json \e
\-\-policy\-library=/my/policy/library
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fITERRAFORM_PLAN_JSON\fR
File which contains a JSON export of a terraform plan. This file will be
validated against the given policy library.
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-policy\-library\fR=\fIPOLICY_LIBRARY\fR
Directory which contains a policy library
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Default region to use for resources that do not have one set
.TP 2m
\fB\-\-zone\fR=\fIZONE\fR
Default zone to use for resources that do not have one set
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in beta and might change without notice. This variant
is also available:
.RS 2m
$ gcloud alpha terraform vet
.RE