You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: `Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
80
-
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.`,
82
+
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
83
+
84
+
85
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
86
+
Please refer to the field 'effective_annotations' for all of the annotations present on the resource.`,
81
87
Elem: &schema.Schema{Type: schema.TypeString},
82
88
},
83
89
"description": {
@@ -107,10 +113,14 @@ An object containing a list of "key": value pairs. Example: { "name": "wrench",
107
113
},
108
114
},
109
115
"labels": {
110
-
Type: schema.TypeMap,
111
-
Optional: true,
112
-
Description: `User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.`,
113
-
Elem: &schema.Schema{Type: schema.TypeString},
116
+
Type: schema.TypeMap,
117
+
Optional: true,
118
+
Description: `User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
119
+
120
+
121
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
122
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.`,
123
+
Elem: &schema.Schema{Type: schema.TypeString},
114
124
},
115
125
"type": {
116
126
Type: schema.TypeString,
@@ -136,6 +146,18 @@ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".`,
136
146
Description: `Output only. Delete time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
137
147
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".`,
138
148
},
149
+
"effective_annotations": {
150
+
Type: schema.TypeMap,
151
+
Computed: true,
152
+
Description: `All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.`,
153
+
Elem: &schema.Schema{Type: schema.TypeString},
154
+
},
155
+
"effective_labels": {
156
+
Type: schema.TypeMap,
157
+
Computed: true,
158
+
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
159
+
Elem: &schema.Schema{Type: schema.TypeString},
160
+
},
139
161
"encryption_info": {
140
162
Type: schema.TypeList,
141
163
Computed: true,
@@ -210,6 +232,13 @@ This can happen due to user-triggered updates or system actions like failover or
210
232
Computed: true,
211
233
Description: `Output only. The current state of the backup.`,
212
234
},
235
+
"terraform_labels": {
236
+
Type: schema.TypeMap,
237
+
Computed: true,
238
+
Description: `The combination of labels configured directly on the resource
239
+
and default labels configured on the provider.`,
240
+
Elem: &schema.Schema{Type: schema.TypeString},
241
+
},
213
242
"uid": {
214
243
Type: schema.TypeString,
215
244
Computed: true,
@@ -246,12 +275,6 @@ func resourceAlloydbBackupCreate(d *schema.ResourceData, meta interface{}) error
0 commit comments