Expose additional args to init command #1259
Open
dnitsch wants to merge 4 commits intogruntwork-io:mainfrom
Open
Expose additional args to init command #1259dnitsch wants to merge 4 commits intogruntwork-io:mainfrom
dnitsch wants to merge 4 commits intogruntwork-io:mainfrom
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
denis256
reviewed
Mar 19, 2023
| 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 |
Member
There was a problem hiding this comment.
AdditionalApplyDestroylags is required? - looks like it is commented and not referenced
Author
There was a problem hiding this comment.
Yes correct ... can be deleted.
|
Do we know if this will get worked on further? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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