Support moving from null_resource to terraform_data #35163
Merged
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.
This change enables the built-in provider's
terraform_data
managed resource to work with themoved
configuration block where thefrom
address is anull_resource
managed resource type from the officialhashicorp/null
provider. It produces no plan differences for typical configurations and specifically helps practitioners from re-running provisioners while moving resource types.In addition to the unit testing, this was manually tested with the following configurations and outputs:
Initial configuration (no
triggers
):Moved configuration (no
triggers
):Moved output (no
triggers
):Initial configuration (with
triggers
):Moved configuration (with
triggers
):Moved output (with
triggers
):Target Release
1.9.0
Draft CHANGELOG entry
ENHANCEMENTS
moved
configuration refactoring from thehashicorp/null
providernull_resource
managed resource