Closed rdhar-tc closed 10 months ago
Hey there @rdhar 👋🏻 , thanks for the suggestion!
While terraform_data
should be preferred over null_resource
as you mentioned, in our use-case here it's being used to test the terraform init
and terraform apply
workflow (which using null_resource
will actually install a provider here): https://github.com/hashicorp/setup-terraform/blob/e192cfcbae6c6ed207c277ed7624131996c9bf13/.github/workflows/setup-terraform.yml#L248-L279
I'm going to close this for now, but eventually if null_resource
is ever deprecated we can come back and update this with a different provider, like say hashicorp/random.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
The
terraform_data
resource type is the nativenull_resource
replacement.