digitalocean_container_registry

Get information on a container registry. This data source provides the name as configured on your DigitalOcean account. This is useful if the container registry name in question is not managed by Terraform or you need validate if the container registry exists in the account.

An error is triggered if the provided container registry name does not exist.

Example Usage

Basic Example

Get the container registry:

data "digitalocean_container_registry" "example" {
  name = "example"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: