@@ -85,6 +85,7 @@ resource "google_netapp_storage_pool" "destination_pool" {
85
85
service_level = "PREMIUM"
86
86
capacity_gib = 2048
87
87
network = data.google_compute_network.default.id
88
+ allow_auto_tiering = true
88
89
}
89
90
90
91
resource "google_netapp_volume" "source_volume" {
@@ -112,6 +113,10 @@ resource "google_netapp_volume_replication" "test_replication" {
112
113
# simplifies implementing client failover concepts
113
114
share_name = "tf-test-source-volume%{random_suffix}"
114
115
description = "This is a replicated volume"
116
+ tiering_policy {
117
+ cooling_threshold_days = 20
118
+ tier_action = "ENABLED"
119
+ }
115
120
}
116
121
delete_destination_volume = true
117
122
wait_for_mirror = true
@@ -140,6 +145,7 @@ resource "google_netapp_storage_pool" "destination_pool" {
140
145
service_level = "PREMIUM"
141
146
capacity_gib = 2048
142
147
network = data.google_compute_network.default.id
148
+ allow_auto_tiering = true
143
149
}
144
150
145
151
resource "google_netapp_volume" "source_volume" {
@@ -172,6 +178,10 @@ resource "google_netapp_volume_replication" "test_replication" {
172
178
# simplifies implementing client failover concepts
173
179
share_name = "tf-test-source-volume%{random_suffix}"
174
180
description = "This is a replicated volume"
181
+ tiering_policy {
182
+ cooling_threshold_days = 20
183
+ tier_action = "ENABLED"
184
+ }
175
185
}
176
186
replication_enabled = true
177
187
delete_destination_volume = true
@@ -202,6 +212,7 @@ resource "google_netapp_storage_pool" "destination_pool" {
202
212
service_level = "PREMIUM"
203
213
capacity_gib = 2048
204
214
network = data.google_compute_network.default.id
215
+ allow_auto_tiering = true
205
216
}
206
217
207
218
resource "google_netapp_volume" "source_volume" {
@@ -234,6 +245,10 @@ resource "google_netapp_volume_replication" "test_replication" {
234
245
# simplifies implementing client failover concepts
235
246
share_name = "tf-test-source-volume%{random_suffix}"
236
247
description = "This is a replicated volume"
248
+ tiering_policy {
249
+ cooling_threshold_days = 20
250
+ tier_action = "ENABLED"
251
+ }
237
252
}
238
253
replication_enabled = false
239
254
delete_destination_volume = true
@@ -264,6 +279,7 @@ resource "google_netapp_storage_pool" "destination_pool" {
264
279
service_level = "PREMIUM"
265
280
capacity_gib = 2048
266
281
network = data.google_compute_network.default.id
282
+ allow_auto_tiering = true
267
283
}
268
284
269
285
resource "google_netapp_volume" "source_volume" {
@@ -296,6 +312,10 @@ resource "google_netapp_volume_replication" "test_replication" {
296
312
# simplifies implementing client failover concepts
297
313
share_name = "tf-test-source-volume%{random_suffix}"
298
314
description = "This is a replicated volume"
315
+ tiering_policy {
316
+ cooling_threshold_days = 20
317
+ tier_action = "ENABLED"
318
+ }
299
319
}
300
320
replication_enabled = true
301
321
delete_destination_volume = true
0 commit comments