Skip to content

Commit 4569908

Browse files
committed
update doc
Signed-off-by: Sherlock Holo <[email protected]>
1 parent ff4670e commit 4569908

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
## 1.20.1 (Unreleased)
2+
3+
ENHANCEMENTS:
4+
5+
* Data Source: `tencentcloud_as_scaling_groups` add optional argument `tags` and attribute `tags` for `scaling_group_list`.
6+
* Resource: `tencentcloud_as_scaling_group` add optional argument `tags`.
7+
28
## 1.20.0 (September 24, 2019)
39

410
FEATURES:

examples/tencentcloud-as/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ resource "tencentcloud_as_scaling_group" "scaling_group" {
4848
desired_capacity = "${var.desired_capacity}"
4949
termination_policies = ["NEWEST_INSTANCE"]
5050
retry_policy = "INCREMENTAL_INTERVALS"
51+
52+
tags = {
53+
"test" = "test"
54+
}
5155
}
5256

5357
resource "tencentcloud_as_scaling_policy" "scaling_policy" {
@@ -91,3 +95,7 @@ resource "tencentcloud_as_notification" "notification" {
9195
notification_types = ["SCALE_OUT_FAILED"]
9296
notification_user_group_ids = ["76955"]
9397
}
98+
99+
data "tencentcloud_as_scaling_groups" "scaling_groups_tags" {
100+
tags = "${tencentcloud_as_scaling_group.scaling_group.tags}"
101+
}

0 commit comments

Comments
 (0)