» baiducloud_appblb

Provide a resource to create an APPBLB.

» Example Usage

resource "baiducloud_appblb" "default" {
  name        = "testLoadBalance"
  description = "this is a test LoadBalance instance"
  vpc_id      = "vpc-gxaava4knqr1"
  subnet_id   = "sbn-m4x3f2i6c901"

  tags = {
    "tagAKey" = "tagAValue"
    "tagBKey" = "tagBValue"
  }
}

» Argument Reference

The following arguments are supported:

  • subnet_id - (Required, ForceNew) The subnet ID to which the LoadBalance instance belongs
  • vpc_id - (Required, ForceNew) The VPC short ID to which the LoadBalance instance belongs
  • description - (Optional) LoadBalance's description, length must be between 0 and 450 bytes, and support Chinese
  • name - (Optional) LoadBalance instance's name, length must be between 1 and 65 bytes, and will be automatically generated if not set
  • tags - (Optional, ForceNew) Tags, do not support modify

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

» Import

APPBLB can be imported, e.g.

$ terraform import baiducloud_appblb.default id