@@ -40,16 +40,19 @@ resource "google_parallelstore_instance" "instance" {
40
40
network = google_compute_network.network.name
41
41
file_stripe_level = "FILE_STRIPE_LEVEL_MIN"
42
42
directory_stripe_level = "DIRECTORY_STRIPE_LEVEL_MIN"
43
+ deployment_type = "SCRATCH"
43
44
labels = {
44
45
test = "value"
45
46
}
47
+ provider = google-beta
46
48
depends_on = [google_service_networking_connection.default]
47
49
}
48
50
49
51
resource "google_compute_network" "network" {
50
52
name = "network"
51
53
auto_create_subnetworks = true
52
54
mtu = 8896
55
+ provider = google-beta
53
56
}
54
57
55
58
# Create an IP address
@@ -58,13 +61,15 @@ resource "google_compute_global_address" "private_ip_alloc" {
58
61
purpose = "VPC_PEERING"
59
62
address_type = "INTERNAL"
60
63
prefix_length = 24
64
+ provider = google-beta
61
65
network = google_compute_network.network.id
62
66
}
63
67
64
68
# Create a private connection
65
69
resource "google_service_networking_connection" "default" {
66
70
network = google_compute_network.network.id
67
71
service = "servicenetworking.googleapis.com"
72
+ provider = google-beta
68
73
reserved_peering_ranges = [google_compute_global_address.private_ip_alloc.name]
69
74
}
70
75
```
@@ -157,6 +162,14 @@ The following arguments are supported:
157
162
DIRECTORY_STRIPE_LEVEL_BALANCED
158
163
DIRECTORY_STRIPE_LEVEL_MAX
159
164
165
+ * ` deployment_type ` -
166
+ (Optional, [ Beta] ( https://terraform.io/docs/providers/google/guides/provider_versions.html ) )
167
+ Parallelstore Instance deployment type.
168
+ Possible values:
169
+ DEPLOYMENT_TYPE_UNSPECIFIED
170
+ SCRATCH
171
+ PERSISTENT
172
+
160
173
* ` project ` - (Optional) The ID of the project in which the resource belongs.
161
174
If it is not provided, the provider project is used.
162
175
0 commit comments