@@ -40,16 +40,19 @@ resource "google_parallelstore_instance" "instance" {
4040 network = google_compute_network.network.name
4141 file_stripe_level = "FILE_STRIPE_LEVEL_MIN"
4242 directory_stripe_level = "DIRECTORY_STRIPE_LEVEL_MIN"
43+ deployment_type = "SCRATCH"
4344 labels = {
4445 test = "value"
4546 }
47+ provider = google-beta
4648 depends_on = [google_service_networking_connection.default]
4749}
4850
4951resource "google_compute_network" "network" {
5052 name = "network"
5153 auto_create_subnetworks = true
5254 mtu = 8896
55+ provider = google-beta
5356}
5457
5558# Create an IP address
@@ -58,13 +61,15 @@ resource "google_compute_global_address" "private_ip_alloc" {
5861 purpose = "VPC_PEERING"
5962 address_type = "INTERNAL"
6063 prefix_length = 24
64+ provider = google-beta
6165 network = google_compute_network.network.id
6266}
6367
6468# Create a private connection
6569resource "google_service_networking_connection" "default" {
6670 network = google_compute_network.network.id
6771 service = "servicenetworking.googleapis.com"
72+ provider = google-beta
6873 reserved_peering_ranges = [google_compute_global_address.private_ip_alloc.name]
6974}
7075```
@@ -157,6 +162,14 @@ The following arguments are supported:
157162 DIRECTORY_STRIPE_LEVEL_BALANCED
158163 DIRECTORY_STRIPE_LEVEL_MAX
159164
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+
160173* ` project ` - (Optional) The ID of the project in which the resource belongs.
161174 If it is not provided, the provider project is used.
162175
0 commit comments