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

Add artifact docker image data source #2404

Conversation

modular-magician
Copy link
Collaborator

Closes hashicorp/terraform-provider-google#16557 and similar to hashicorp/terraform-provider-google#4317, which requested the same kind of data source but for gcr, although gcr is deprecated and that issue is still open.

This PR adds a data source that makes it easier to obtain information about docker images stored in an Artifact Registry repo.

I've added:

  • Handwritten docs for the new data source

Acceptance test showing the data source can retrieve the docker image information when provided the following scenarios

  • An image name
  • An image name and tag
  • An image name and digest
  • An image name that does not have URL safe characters.

Release Note Template for Downstream PRs (will be copied)

`google_artifact_registry_docker_image`

Derived from GoogleCloudPlatform/magic-modules#9521

[upstream:9156b0c736912c251b4b79f853b7436a6cba8d69]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner June 14, 2024 16:10
@modular-magician modular-magician requested review from roaks3 and removed request for a team June 14, 2024 16:10
@modular-magician modular-magician merged commit 47f19c4 into GoogleCloudPlatform:main Jun 14, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Artifact registry docker image data source
1 participant