alicloud_cr_chart_namespace

Provides a CR Chart Namespace resource.

For information about CR Chart Namespace and how to use it, see What is Chart Namespace.

Example Usage

Basic Usage

variable "name" {
  default = "example-name"
}
resource "alicloud_cr_ee_instance" "example" {
  payment_type   = "Subscription"
  period         = 1
  renew_period   = 0
  renewal_status = "ManualRenewal"
  instance_type  = "Advanced"
  instance_name  = var.name
}

resource "alicloud_cr_chart_namespace" "example" {
  instance_id    = alicloud_cr_ee_instance.example.id
  namespace_name = var.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

CR Chart Namespace can be imported using the id, e.g.

$ terraform import alicloud_cr_chart_namespace.example <instance_id>:<namespace_name>