alicloud_vpc_public_ip_address_pool

Provides a Vpc Public Ip Address Pool resource.

For information about Vpc Public Ip Address Pool and how to use it, see What is Public Ip Address Pool.

Example Usage

Basic Usage

variable "name" {
  default = "tf-example"
}
data "alicloud_resource_manager_resource_groups" "default" {
  status = "OK"
}
resource "alicloud_vpc_public_ip_address_pool" "default" {
  description                 = var.name
  public_ip_address_pool_name = var.name
  isp                         = "BGP"
  resource_group_id           = data.alicloud_resource_manager_resource_groups.default.ids.0
}

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

Vpc Public Ip Address Pool can be imported using the id, e.g.

$ terraform import alicloud_vpc_public_ip_address_pool.example <id>