command: help text for generate-config-out (#33279)

This commit is contained in:
kmoe 2023-05-31 20:42:41 +01:00 committed by GitHub
parent 1e31c671c2
commit 4386a15684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,32 +248,41 @@ Plan Customization Options:
Other Options:
-compact-warnings If Terraform produces any warnings that are not
accompanied by errors, shows them in a more compact form
that includes only the summary messages.
accompanied by errors, shows them in a more compact
form that includes only the summary messages.
-detailed-exitcode Return detailed exit codes when the command exits. This
will change the meaning of exit codes to:
-detailed-exitcode Return detailed exit codes when the command exits.
This will change the meaning of exit codes to:
0 - Succeeded, diff is empty (no changes)
1 - Errored
2 - Succeeded, there is a diff
-generate-config-out=path (Experimental) If import blocks are present in
configuration, instructs Terraform to generate HCL
for any imported resources not already present. The
configuration is written to a new file at PATH,
which must not already exist. Terraform may still
attempt to write configuration if the plan errors.
-input=true Ask for input for variables if not directly set.
-lock=false Don't hold a state lock during the operation. This is
dangerous if others might concurrently run commands
against the same workspace.
-lock=false Don't hold a state lock during the operation. This
is dangerous if others might concurrently run
commands against the same workspace.
-lock-timeout=0s Duration to retry a state lock.
-no-color If specified, output won't contain any color.
-out=path Write a plan file to the given path. This can be used as
input to the "apply" command.
-out=path Write a plan file to the given path. This can be
used as input to the "apply" command.
-parallelism=n Limit the number of concurrent operations. Defaults to 10.
-parallelism=n Limit the number of concurrent operations. Defaults
to 10.
-state=statefile A legacy option used for the local backend only. See the
local backend's documentation for more information.
-state=statefile A legacy option used for the local backend only.
See the local backend's documentation for more
information.
`
return strings.TrimSpace(helpText)
}