Open wiktorn opened 2 years 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
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.
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:
${_LOCATION}-docker.pkg.dev/$PROJECT_ID/${_REPOSITORY}/
${_LOCATION}-docker.pkg.dev/$PROJECT_ID/${_REPOSITORY}/
artifactregistry://${_LOCATION}-maven.pkg.dev/$PROJECT_ID/${_REPOSITORY}/
https://${_LOCATION}-npm.pkg.dev/$PROJECT_ID/${_REPOSITORY}/
https://${_LOCATION}-python.pkg.dev/$PROJECT_ID/${_REPOSITORY}/
ar+https://${_LOCATION}-apt.pkg.dev/projects/$PROJECT_ID/
https://${_LOCATION}-yum.pkg.dev/projects/$PROJECT_ID/
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