diff --git a/command/push.go b/command/push.go index 731a245f8..64bccc767 100644 --- a/command/push.go +++ b/command/push.go @@ -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". diff --git a/website/source/docs/commands/push.html.markdown b/website/source/docs/commands/push.html.markdown index e944261c9..69378600f 100644 --- a/website/source/docs/commands/push.html.markdown +++ b/website/source/docs/commands/push.html.markdown @@ -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`