-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose additional args to init command #1259
base: master
Are you sure you want to change the base?
Conversation
ensure existing properties specifically called out are "protected" addressess gruntwork-io#318
Not doing an InitApply so never writes it out tested previously
should avoid untested errors when run in Parallel
@@ -71,6 +71,8 @@ type Options struct { | |||
PlanFilePath string // The path to output a plan file to (for the plan command) or read one from (for the apply command) | |||
PluginDir string // The path of downloaded plugins to pass to the terraform init command (-plugin-dir) | |||
SetVarsAfterVarFiles bool // Pass -var options after -var-file options to Terraform commands | |||
AdditionalInitFlags []string // additional flags to pass to init command - e.g. `-backend=false`. complete list of options [here](https://developer.hashicorp.com/terraform/cli/commands/init) | |||
// AdditionalApplyDestroylags []string // additional flags to pass to apply/destroy command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AdditionalApplyDestroylags
is required? - looks like it is commented and not referenced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes correct ... can be deleted.
Do we know if this will get worked on further? |
Description
Expose additional args to init command, maintaining old behaviour of allowing existing properties to certain configurations.
Fixes #318.
TODOs
Read the Gruntwork contribution guidelines.
Release Notes (draft)
Added / Removed / Updated [X].
Migration Guide