File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
## 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
+
2
8
## 1.20.0 (September 24, 2019)
3
9
4
10
FEATURES:
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ resource "tencentcloud_as_scaling_group" "scaling_group" {
48
48
desired_capacity = " ${ var . desired_capacity } "
49
49
termination_policies = [" NEWEST_INSTANCE" ]
50
50
retry_policy = " INCREMENTAL_INTERVALS"
51
+
52
+ tags = {
53
+ " test" = " test"
54
+ }
51
55
}
52
56
53
57
resource "tencentcloud_as_scaling_policy" "scaling_policy" {
@@ -91,3 +95,7 @@ resource "tencentcloud_as_notification" "notification" {
91
95
notification_types = [" SCALE_OUT_FAILED" ]
92
96
notification_user_group_ids = [" 76955" ]
93
97
}
98
+
99
+ data "tencentcloud_as_scaling_groups" "scaling_groups_tags" {
100
+ tags = " ${ tencentcloud_as_scaling_group . scaling_group . tags } "
101
+ }
You can’t perform that action at this time.
0 commit comments