File tree 2 files changed +18
-12
lines changed 2 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,15 @@ resource "tencentcloud_as_scaling_config" "example" {
36
36
}
37
37
38
38
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
45
48
}
46
49
```
47
50
Original file line number Diff line number Diff line change @@ -47,12 +47,15 @@ resource "tencentcloud_as_scaling_config" "example" {
47
47
}
48
48
49
49
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
56
59
}
57
60
```
58
61
You can’t perform that action at this time.
0 commit comments