alicloud_eip

Provides an elastic IP resource.

Example Usage

# Create a new EIP.
resource "alicloud_eip" "example" {
  bandwidth            = "10"
  internet_charge_type = "PayByBandwidth"
}

Module Support

You can use the existing eip module to create several EIP instances and associate them with other resources one-click, like ECS instances, SLB, Nat Gateway and so on.

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Elastic IP address can be imported using the id, e.g.

$ terraform import alicloud_eip_address.example eip-abc12345678