Skip to content
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

confluent_network_link_service data source must not require nls id #548

Open
t0ffel opened this issue Feb 4, 2025 · 2 comments
Open

confluent_network_link_service data source must not require nls id #548

t0ffel opened this issue Feb 4, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@t0ffel
Copy link

t0ffel commented Feb 4, 2025

from https://registry.terraform.io/providers/confluentinc/confluent/latest/docs/data-sources/confluent_network_link_service


   id - (Required String) The ID of the Network Link Service, for example, nls-zyw30.

Usually this kind of data source is used to obtain the nls id, but currently it requires nls id to be provided.

It would be much better if you could pass display_name argument to actually obtain the nls id from this data source

@linouk23
Copy link
Contributor

linouk23 commented Feb 4, 2025

Thanks for creating this issue @t0ffel!

Could you confirm that you'd like the following configuration to be supported:

data "confluent_network_link_service" "nls" {
  display_name = "test"
  environment {
    id = "env-1234"
  }
}

Thank you!

@linouk23 linouk23 added the enhancement New feature or request label Feb 4, 2025
@t0ffel
Copy link
Author

t0ffel commented Feb 4, 2025

yes, that would be wonderful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants