command/push: upload-modules

This commit is contained in:
Mitchell Hashimoto 2015-03-24 17:42:40 -07:00
parent 8d47f26bb7
commit 51614b6365
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ func (c *PushCommand) Run(args []string) int {
cmdFlags := c.Meta.flagSet("push")
cmdFlags.StringVar(&c.Meta.statePath, "state", DefaultStateFilename, "path")
cmdFlags.StringVar(&atlasToken, "token", "", "")
cmdFlags.BoolVar(&moduleUpload, "module-upload", true, "")
cmdFlags.BoolVar(&moduleUpload, "upload-modules", true, "")
cmdFlags.StringVar(&name, "name", "", "")
cmdFlags.BoolVar(&archiveVCS, "vcs", true, "")
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
@ -185,7 +185,7 @@ Usage: terraform push [options] [DIR]
Options:
-module-upload=true If true (default), then the modules are locked at
-upload-modules=true If true (default), then the modules are locked at
their current checkout and uploaded completely. This
prevents Atlas from running "terraform get".

View File

@ -34,7 +34,7 @@ The `path` argument is the same as for the
The command-line flags are all optional. The list of available flags are:
* `-module-upload=true` - If true (default), then the
* `-upload-modules=true` - If true (default), then the
[modules](/docs/modules/index.html)
being used are all locked at their current checkout and uploaded
completely to Atlas. This prevents Atlas from running `terraform get`