-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert Legacy Logical and Read-only Resources to Data Sources #6688
Comments
In the case of |
@jen20, yeah, that's a good sum-up of the more long-winded way I said the same thing in #3639. 😀 Update: oh wait, not quite: my proposal was that |
@apparentlymart looks like we are all up to date on this one - closing as all parts are now merged :) |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
With the data resource concept now in master, we have the opportunity to convert a number of existing "data-resource-like" resources to be true data resources.
This is a roll-up issue to capture the list. The intent is not that they be attacked all in one step, but rather that we make several small PRs to convert them and then track the overall progress here.
The focus of this issue is existing resources to convert, not ideas for new data sources we might build. If I missed any, please let me know!
atlas
provider (#7419):atlas_artifact
can be converted straightforwardly using the "shim" inhelper/schema
consul
provider (#7678):consul_keys
should be both a data resource (for reads) and a managed resource (for writes);key
blocks withoutvalue
on theconsul_keys
managed resource should generate a deprecation warning advising users to switch to the data resource.docker
provider (#7000):docker_image
can potentially become a data resource but the separation of concerns between it anddocker_container
would need to change as discussed in Docker images version change do not trigger container update #3639.template
provider (#6717):template_file
can be converted straightforwardly using the "shim" inhelper/schema
template_cloudinit_config
can be converted straightforwardly using the "shim" inhelper/schema
terraform
provider:terraform_remote_state
was converted using the "shim" inhelper/schema
as part of Data-driven Terraform Configuration #6598tls
provider (#7469):tls_cert_request
can be converted straightforwardly using the "shim" inhelper/schema
tls_private_key
,tls_self_signed_cert
andtls_locally_signed_cert
must remain as managed logical resources, since they use the resource lifecycle even though their implementation exists entirely within Terraform.The text was updated successfully, but these errors were encountered: