|
@ -38,6 +38,11 @@ func main() { |
|
|
Name: "env-file", |
|
|
Name: "env-file", |
|
|
Usage: "source env file", |
|
|
Usage: "source env file", |
|
|
}, |
|
|
}, |
|
|
|
|
|
cli.StringFlag{ |
|
|
|
|
|
Name: "planfile", |
|
|
|
|
|
Usage: "The absolute path to save the outfile eg: /tmp/myplan.tfout", |
|
|
|
|
|
EnvVar: "PLUGIN_PLANFILE", |
|
|
|
|
|
}, |
|
|
cli.StringFlag{ |
|
|
cli.StringFlag{ |
|
|
Name: "init_options", |
|
|
Name: "init_options", |
|
|
Usage: "options for the init command. See https://www.terraform.io/docs/commands/init.html", |
|
|
Usage: "options for the init command. See https://www.terraform.io/docs/commands/init.html", |
|
@ -48,11 +53,6 @@ func main() { |
|
|
Usage: "The number of concurrent operations as Terraform walks its graph", |
|
|
Usage: "The number of concurrent operations as Terraform walks its graph", |
|
|
EnvVar: "PLUGIN_PARALLELISM", |
|
|
EnvVar: "PLUGIN_PARALLELISM", |
|
|
}, |
|
|
}, |
|
|
cli.StringFlag{ |
|
|
|
|
|
Name: "plan_path", |
|
|
|
|
|
Usage: "The absolute path to save the outfile eg: /tmp/myplan.tfout", |
|
|
|
|
|
EnvVar: "PLUGIN_PLAN_PATH", |
|
|
|
|
|
}, |
|
|
|
|
|
cli.StringFlag{ |
|
|
cli.StringFlag{ |
|
|
Name: "netrc.machine", |
|
|
Name: "netrc.machine", |
|
|
Usage: "netrc machine", |
|
|
Usage: "netrc machine", |
|
@ -151,7 +151,7 @@ func run(c *cli.Context) error { |
|
|
RoleARN: c.String("role_arn_to_assume"), |
|
|
RoleARN: c.String("role_arn_to_assume"), |
|
|
RootDir: c.String("root_dir"), |
|
|
RootDir: c.String("root_dir"), |
|
|
Parallelism: c.Int("parallelism"), |
|
|
Parallelism: c.Int("parallelism"), |
|
|
PlanPath: c.String("plan_path"), |
|
|
Planfile: c.String("planfile"), |
|
|
Targets: c.StringSlice("targets"), |
|
|
Targets: c.StringSlice("targets"), |
|
|
VarFiles: c.StringSlice("var_files"), |
|
|
VarFiles: c.StringSlice("var_files"), |
|
|
}, |
|
|
}, |
|
|