Open janfrederik opened 6 days ago
As from Terraform 1.4, the doc suggests to use terraform_data instead of null_resource. See https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource.
terraform_data
null_resource
To avoid destroy and recreation of these resources, terraform>=1.9 allows the moved statement to do exactly this refactoring. Works like a charm :-)
moved
For details, see https://registry.terraform.io/providers/hashicorp/null/latest/docs/guides/terraform-migration#migrating-existing-configurations.
As from Terraform 1.4, the doc suggests to use
terraform_data
instead ofnull_resource
. See https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource.To avoid destroy and recreation of these resources, terraform>=1.9 allows the
moved
statement to do exactly this refactoring. Works like a charm :-)For details, see https://registry.terraform.io/providers/hashicorp/null/latest/docs/guides/terraform-migration#migrating-existing-configurations.