IBM-Cloud / terraform-provider-ibm

https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs
Mozilla Public License 2.0
339 stars 663 forks source link

ibm_cr_namespace to read the details of existing registry namespace #2417

Open VidyasagarMSC opened 3 years ago

VidyasagarMSC commented 3 years ago

This is a request for new Terraform data source ibm_cr_namespace which can be used to read an existing container registry namespace.

As of today, there is only one option with cr namespaces that lists all the namespaces in the container registry and no option to read a single existing container registry namespace

hkantare commented 2 years ago

@jhart1685 Can you please look into this

jhart1685 commented 2 years ago

@VidyasagarMSC - Could you please submit this request as an idea: https://ibmcloud.ideas.ibm.com (if you are an IBM employee, there is a different link, but ibmcloud.ideas.ibm.com has a link to it).

Raising the idea will get visibility to our product management team, so that they can evaluate and prioritise alongside other requirements.

In the meantime, the ibm_cr_namespaces data source now includes all details for each namespace (including resource group IP and CRN if the namespace is assigned to a resource group) in the specified region. This may be a change since you opened this issue , as the Container Registry Terraform artifacts underwent significant change around May 2021.