GCP Artifact Registry Docker Image
Google Cloud Artifact Registry’s Docker Image resource represents an individual Docker image that has been pushed to an Artifact Registry repository. Each image is uniquely identified by its location, repository, image name and digest or tag, and can be queried to retrieve metadata such as its size, creation time, media type and vulnerability scan status. Managing this resource allows teams to audit, track and secure the exact container images that will be deployed in their workloads.
Official documentation can be found here: https://cloud.google.com/artifact-registry/docs/docker
Terrafrom Mappings:
google_artifact_registry_docker_image.name
Supported Methods
GET
: Get a gcp-artifact-registry-docker-image by its "locations|repositories|dockerImages"LIST
SEARCH
: Search for Docker images in Artifact Registry. Use the format "location|repository_id" or "projects/[project]/locations/[location]/repository/[repository_id]/dockerImages/[docker_image]" which is supported for terraform mappings.