alicloud_cr_ee_instance

This resource will help you to manager Container Registry Enterprise Edition instances.

For information about Container Registry Enterprise Edition instances and how to use it, see Create a Instance

Example Usage

Basic Usage

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

Deleting alicloud_cr_ee_instance or removing it from your configuration

The alicloud_cr_ee_instance resource allows you to manage payment_type = "Subscription" cr instance, but Terraform cannot destroy it. Deleting the subscription resource or removing it from your configuration will remove it from your state file and management, but will not destroy the CR Instance. You can resume managing the subscription cr instance via the AlibabaCloud Console.

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Container Registry Enterprise Edition instance can be imported using the id, e.g.

$ terraform import alicloud_cr_ee_instance.default cri-test