alicloud_cr_namespace

This resource will help you to manager Container Registry namespaces, see What is Namespace.

Example Usage

Basic Usage

variable "name" {
  default = "terraform-example"
}
resource "alicloud_cr_namespace" "example" {
  name               = var.name
  auto_create        = false
  default_visibility = "PUBLIC"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Container Registry namespace can be imported using the namespace, e.g.

$ terraform import alicloud_cr_namespace.default my-namespace