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 := c.Meta.flagSet("push")
|
||||||
cmdFlags.StringVar(&c.Meta.statePath, "state", DefaultStateFilename, "path")
|
cmdFlags.StringVar(&c.Meta.statePath, "state", DefaultStateFilename, "path")
|
||||||
cmdFlags.StringVar(&atlasToken, "token", "", "")
|
cmdFlags.StringVar(&atlasToken, "token", "", "")
|
||||||
cmdFlags.BoolVar(&moduleUpload, "module-upload", true, "")
|
cmdFlags.BoolVar(&moduleUpload, "upload-modules", true, "")
|
||||||
cmdFlags.StringVar(&name, "name", "", "")
|
cmdFlags.StringVar(&name, "name", "", "")
|
||||||
cmdFlags.BoolVar(&archiveVCS, "vcs", true, "")
|
cmdFlags.BoolVar(&archiveVCS, "vcs", true, "")
|
||||||
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
|
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
|
||||||
|
@ -185,7 +185,7 @@ Usage: terraform push [options] [DIR]
|
||||||
|
|
||||||
Options:
|
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
|
their current checkout and uploaded completely. This
|
||||||
prevents Atlas from running "terraform get".
|
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:
|
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)
|
[modules](/docs/modules/index.html)
|
||||||
being used are all locked at their current checkout and uploaded
|
being used are all locked at their current checkout and uploaded
|
||||||
completely to Atlas. This prevents Atlas from running `terraform get`
|
completely to Atlas. This prevents Atlas from running `terraform get`
|
||||||
|
|
Loading…
Reference in New Issue