mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-21 22:49:22 +00:00
gcloud: Wed Apr 6 08:36:53 UTC 2022
This commit is contained in:
parent
9bf28f1efe
commit
f88a614da8
221 changed files with 7174 additions and 449 deletions
43
gcloud/alpha/terraform/vet
Normal file
43
gcloud/alpha/terraform/vet
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
NAME
|
||||
gcloud alpha terraform vet - validate that a terraform plan complies with
|
||||
policies
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha terraform vet TERRAFORM_PLAN_JSON
|
||||
--policy-library=POLICY_LIBRARY [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) 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 alpha 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 alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta terraform vet
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue