hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.34k stars 1.74k forks source link

google_artifact_registry_repository should return url under which it is available #11355

Open wiktorn opened 2 years ago

wiktorn commented 2 years ago

Community Note

Description

Once Artifact Registry is created there is no way to obtain the URL under which the registry is available. This would make using this far more accessible and wouldn't require to dig deep into docs to find how the url is created:

To gather this information I had to go through all quick-start guides and deduce what is the pattern :frowning_face:

I understand that this is not yet available in API, but at least documenting the above would improve the situation (if it's not possible to have a workaround until it is fixed upstream).

New or Affected Resource(s)

Potential Terraform Configuration

No changes

References

b/302797468

mglazer commented 1 year ago

Was wondering if there was any traction on this issue? I'm happy to submit a PR but wasn't able to see a contribution guideline other than submitting a change to https://github.com/GoogleCloudPlatform/magic-modules

gunnar-bell commented 1 year ago

It seems pretty logical to create an artifact registry and then want to reference the artifacts in other resources. Is that not the recommended workflow? I'm surprised the registry url would be impossible to retrieve.

roaks3 commented 1 year ago

FWIW, contributing guidelines are here (yes, changes should be made to magic-modules)