@@ -87,6 +87,7 @@ resource "google_netapp_storage_pool" "destination_pool" {
87
87
service_level = "PREMIUM"
88
88
capacity_gib = 2048
89
89
network = data.google_compute_network.default.id
90
+ allow_auto_tiering = true
90
91
}
91
92
92
93
resource "google_netapp_volume" "source_volume" {
@@ -114,6 +115,10 @@ resource "google_netapp_volume_replication" "test_replication" {
114
115
# simplifies implementing client failover concepts
115
116
share_name = "tf-test-source-volume%{random_suffix}"
116
117
description = "This is a replicated volume"
118
+ tiering_policy {
119
+ cooling_threshold_days = 20
120
+ tier_action = "ENABLED"
121
+ }
117
122
}
118
123
delete_destination_volume = true
119
124
wait_for_mirror = true
@@ -142,6 +147,7 @@ resource "google_netapp_storage_pool" "destination_pool" {
142
147
service_level = "PREMIUM"
143
148
capacity_gib = 2048
144
149
network = data.google_compute_network.default.id
150
+ allow_auto_tiering = true
145
151
}
146
152
147
153
resource "google_netapp_volume" "source_volume" {
@@ -174,6 +180,10 @@ resource "google_netapp_volume_replication" "test_replication" {
174
180
# simplifies implementing client failover concepts
175
181
share_name = "tf-test-source-volume%{random_suffix}"
176
182
description = "This is a replicated volume"
183
+ tiering_policy {
184
+ cooling_threshold_days = 20
185
+ tier_action = "ENABLED"
186
+ }
177
187
}
178
188
replication_enabled = true
179
189
delete_destination_volume = true
@@ -204,6 +214,7 @@ resource "google_netapp_storage_pool" "destination_pool" {
204
214
service_level = "PREMIUM"
205
215
capacity_gib = 2048
206
216
network = data.google_compute_network.default.id
217
+ allow_auto_tiering = true
207
218
}
208
219
209
220
resource "google_netapp_volume" "source_volume" {
@@ -236,6 +247,10 @@ resource "google_netapp_volume_replication" "test_replication" {
236
247
# simplifies implementing client failover concepts
237
248
share_name = "tf-test-source-volume%{random_suffix}"
238
249
description = "This is a replicated volume"
250
+ tiering_policy {
251
+ cooling_threshold_days = 20
252
+ tier_action = "ENABLED"
253
+ }
239
254
}
240
255
replication_enabled = false
241
256
delete_destination_volume = true
@@ -266,6 +281,7 @@ resource "google_netapp_storage_pool" "destination_pool" {
266
281
service_level = "PREMIUM"
267
282
capacity_gib = 2048
268
283
network = data.google_compute_network.default.id
284
+ allow_auto_tiering = true
269
285
}
270
286
271
287
resource "google_netapp_volume" "source_volume" {
@@ -298,6 +314,10 @@ resource "google_netapp_volume_replication" "test_replication" {
298
314
# simplifies implementing client failover concepts
299
315
share_name = "tf-test-source-volume%{random_suffix}"
300
316
description = "This is a replicated volume"
317
+ tiering_policy {
318
+ cooling_threshold_days = 20
319
+ tier_action = "ENABLED"
320
+ }
301
321
}
302
322
replication_enabled = true
303
323
delete_destination_volume = true
0 commit comments