-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support conditionally disabling TF plan
This seeks to address issue #142 by adding two fields to `MultiStateMigratorConfig`: * `disable_from_dir_diff_check` - when `true`, `tfmigrator` skips running `terraform plan` in the `from_dir`. Default: `false`. * `disable_from_to_diff_check` - when `true`, `tfmigrator` skips running `terraform plan` in the `to_dir`. Default: `false`. Example: ```hcl migration "multi_state" "test" { from_dir = "." disable_from_dir_diff_check = true to_dir = "dir2" disable_to_dir_diff_check = true actions = [ "mv aws_security_group.baz aws_security_group.baz2", ] } ``` Signed-off-by: Mike Ball <mikedball@gmail.com>
- Loading branch information
Showing
5 changed files
with
441 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.