alicloud_ecs_activation

Provides a ECS Activation resource.

For information about ECS Activation and how to use it, see What is Activation.

Example Usage

Basic Usage

resource "alicloud_ecs_activation" "example" {
  description           = "terraform-example"
  instance_count        = 10
  instance_name         = "terraform-example"
  ip_address_range      = "0.0.0.0/0"
  time_to_live_in_hours = 4
}

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

ECS Activation can be imported using the id, e.g.

$ terraform import alicloud_ecs_activation.example <id>