diff --git a/internal/command/init.go b/internal/command/init.go index d5796e92e8..6bcb08c5ff 100644 --- a/internal/command/init.go +++ b/internal/command/init.go @@ -1139,6 +1139,15 @@ Options: -test-directory=path Set the Terraform test directory, defaults to "tests". + -var 'foo=bar' Set a value for one of the input variables in the root + module of the configuration. Use this option more than + once to set more than one variable. + + -var-file=filename Load variable values from the given file, in addition + to the default files terraform.tfvars and *.auto.tfvars. + Use this option more than once to include more than one + variables file. + -enable-pluggable-state-storage-experiment [EXPERIMENTAL] A flag to enable an alternative init command that allows use of pluggable state storage. Only usable with experiments enabled.