command/push: upload-modules
This commit is contained in:
parent
8d47f26bb7
commit
51614b6365
|
@ -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".
|
||||
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue