Skip to content

Commit 277e993

Browse files
committed
modify doc
1 parent 9f9fc17 commit 277e993

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

tencentcloud/services/as/resource_tc_as_scaling_group.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,15 @@ resource "tencentcloud_as_scaling_config" "example" {
3636
}
3737
3838
resource "tencentcloud_as_scaling_group" "example" {
39-
scaling_group_name = "tf-example"
40-
configuration_id = tencentcloud_as_scaling_config.example.id
41-
max_size = 1
42-
min_size = 0
43-
vpc_id = tencentcloud_vpc.vpc.id
44-
subnet_ids = [tencentcloud_subnet.subnet.id]
39+
scaling_group_name = "tf-example"
40+
configuration_id = tencentcloud_as_scaling_config.example.id
41+
max_size = 1
42+
min_size = 0
43+
vpc_id = tencentcloud_vpc.vpc.id
44+
subnet_ids = [tencentcloud_subnet.subnet.id]
45+
health_check_type = "CLB"
46+
replace_load_balancer_unhealthy = true
47+
lb_health_check_grace_period = 30
4548
}
4649
```
4750

website/docs/r/as_scaling_group.html.markdown

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@ resource "tencentcloud_as_scaling_config" "example" {
4747
}
4848
4949
resource "tencentcloud_as_scaling_group" "example" {
50-
scaling_group_name = "tf-example"
51-
configuration_id = tencentcloud_as_scaling_config.example.id
52-
max_size = 1
53-
min_size = 0
54-
vpc_id = tencentcloud_vpc.vpc.id
55-
subnet_ids = [tencentcloud_subnet.subnet.id]
50+
scaling_group_name = "tf-example"
51+
configuration_id = tencentcloud_as_scaling_config.example.id
52+
max_size = 1
53+
min_size = 0
54+
vpc_id = tencentcloud_vpc.vpc.id
55+
subnet_ids = [tencentcloud_subnet.subnet.id]
56+
health_check_type = "CLB"
57+
replace_load_balancer_unhealthy = true
58+
lb_health_check_grace_period = 30
5659
}
5760
```
5861

0 commit comments

Comments
 (0)