ksyun_lb

最近更新时间:2022-06-14 21:21:22

查看PDF

Provides a Load Balancer resource.

Example Usage

resource "ksyun_lb" "default" {
  vpc_id = "74d0a45b-472d-49fc-84ad-221e21ee23aa"
  load_balancer_name = "tf-xun1"
  type = "public"
}

Argument Reference

The following arguments are supported:

  • load_balancer_name - (Optional) The name of the load balancer.
  • vpc_id - (Required) The ID of the VPC linked to the Load Balancers.
  • type - (Optional) The type of load balancer.Valid Values:‘public’, ‘internal’.
  • subnet_id - (Optional) The id of the subnet.only Internal type is Required.

Attributes Reference

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

  • create_time - The time of creation for load balancer, formatted in RFC3339 time string.
  • private_ip - The IP address of intranet IP. It is “” if internal is false.

Import

LB can be imported using the id, e.g.

$ terraform import ksyun_lb.example fdeba8ca-8aa6-4cd0-8ffa-52ca9e9fef42

文档内容是否对您有帮助?

根本没帮助
文档较差
文档一般
文档不错
文档很好

在文档使用中是否遇到以下问题

内容不全,不深入
内容更新不及时
描述不清晰,比较混乱
系统或功能太复杂,缺乏足够的引导
内容冗长

更多建议

0/200

评价建议不能为空

提交成功!

非常感谢您的反馈,我们会继续努力做到更好!

问题反馈