google_container_registry_image

This data source fetches the project name, and provides the appropriate URLs to use for container registry for this project.

The URLs are computed entirely offline - as long as the project exists, they will be valid, but this data source does not contact Google Container Registry (GCR) at any point.

Example Usage

data "google_container_registry_image" "debian" {
  name = "debian"
}

output "gcr_location" {
  value = data.google_container_registry_image.debian.image_url
}

Argument Reference

Attributes Reference

In addition to the arguments listed above, this data source exports: