It would be beneficial if Terraform provider data sources allowed the selection of resources by name. This capability could facilitate the transfer of data between multiple Terraform contexts. Currently, we rely on IDs, which are not known in advance.
Ideally, we would like to be able to look up any resource by name. However, there is a specific resource in the following list that is preventing us from refactoring our current Infrastructure as Code (IAC):
zitadel_project
zitadel_machine_user
zitadel_application_api
zitadel_application_oidc
Preflight Checklist
Describe your problem
It would be beneficial if Terraform provider data sources allowed the selection of resources by name. This capability could facilitate the transfer of data between multiple Terraform contexts. Currently, we rely on IDs, which are not known in advance.
Initial issue: https://github.com/zitadel/terraform-provider-zitadel/issues/47
Ideally, we would like to be able to look up any resource by name. However, there is a specific resource in the following list that is preventing us from refactoring our current Infrastructure as Code (IAC): zitadel_project zitadel_machine_user zitadel_application_api zitadel_application_oidc
Describe your ideal solution
Data sources can lookup a resource by name or id
Version
No response
Additional Context
No response