File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ resource "google_service_networking_connection" "default" {
20
20
service = " netapp.servicenetworking.goog"
21
21
reserved_peering_ranges = [google_compute_global_address . private_ip_alloc . name ]
22
22
23
- depends_on = [
24
- google_compute_global_address . private_ip_alloc
25
- ]
23
+ deletion_policy = " ABANDON"
26
24
}
27
25
28
26
# Modify the PSA Connection to allow import/export of custom routes
@@ -64,6 +62,7 @@ resource "google_netapp_volume" "netapp-nfs-volume" {
64
62
}
65
63
66
64
depends_on = [
67
- google_netapp_storage_pool . netapp-tf-pool
65
+ google_netapp_storage_pool . netapp-tf-pool ,
66
+ google_service_networking_connection . default
68
67
]
69
68
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ locals {
10
10
rwx_filestore_path = (var. storage_type == " none"
11
11
? " "
12
12
: var. storage_type == " ha" && local. storage_type_backend == " filestore" ? " /${ google_filestore_instance . rwx [0 ]. file_shares [0 ]. name } "
13
- : var. storage_type == " ha" && local. storage_type_backend == " netapp" ? " / ${ module . google_netapp [0 ]. mountpath } " : " /export"
13
+ : var. storage_type == " ha" && local. storage_type_backend == " netapp" ? module. google_netapp [0 ]. mountpath : " /export"
14
14
)
15
15
protocol_version = var. storage_type == " ha" && local. storage_type_backend == " netapp" ? split (" V" , var. netapp_protocols [0 ])[1 ] == " 4" ? " 4.1" : " 3" : " 3"
16
16
You can’t perform that action at this time.
0 commit comments