website: correct intro docs about terraform init -upgrade

"-upgrade" was misspelled as "-update".
This commit is contained in:
Gregory McCue 2017-11-29 23:14:48 +01:00 committed by Martin Atkins
parent 7f11750aa7
commit b9aee64f3b
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ as well as performing other Terraform working directory initialization such
as installing providers. as installing providers.
By default the command will not check for available updates to already-installed By default the command will not check for available updates to already-installed
modules, but you can use the `-update` option to check for available upgrades. modules, but you can use the `-upgrade` option to check for available upgrades.
When version constraints are specified (as described in the following section) When version constraints are specified (as described in the following section)
a newer version will be used only if it is within the given constraint. a newer version will be used only if it is within the given constraint.

View File

@ -91,7 +91,7 @@ $ terraform init
``` ```
By default, this command does not check for new module versions that may be By default, this command does not check for new module versions that may be
available, so it is safe to run multiple times. The `-update` option will available, so it is safe to run multiple times. The `-upgrade` option will
additionally check for any newer versions of existing modules and providers additionally check for any newer versions of existing modules and providers
that may be available. that may be available.