You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datafusion: added fields `connection_type` and `private_service_connect_config` to enable using Private Service Connect with `google_data_fusion_instance` resources
Description: `Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and
224
+
the corresponding tenant project from a predefined list of available connection modes.
225
+
If this field is unspecified for a private instance, VPC peering is used. Possible values: ["VPC_PEERING", "PRIVATE_SERVICE_CONNECT_INTERFACES"]`,
226
+
},
218
227
"ip_allocation": {
219
228
Type: schema.TypeString,
220
-
Required: true,
229
+
Optional: true,
221
230
ForceNew: true,
222
231
Description: `The IP range in CIDR notation to use for the managed Data Fusion instance
223
232
nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.`,
224
233
},
225
234
"network": {
226
235
Type: schema.TypeString,
227
-
Required: true,
236
+
Optional: true,
228
237
ForceNew: true,
229
238
Description: `Name of the network in the project with which the tenant project
230
239
will be peered for executing pipelines. In case of shared VPC where the network resides in another host
231
240
project the network should specified in the form of projects/{host-project-id}/global/networks/{network}`,
232
241
},
242
+
"private_service_connect_config": {
243
+
Type: schema.TypeList,
244
+
Optional: true,
245
+
ForceNew: true,
246
+
Description: `Optional. Configuration for Private Service Connect.
247
+
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.`,
248
+
MaxItems: 1,
249
+
Elem: &schema.Resource{
250
+
Schema: map[string]*schema.Schema{
251
+
"network_attachment": {
252
+
Type: schema.TypeString,
253
+
Optional: true,
254
+
ForceNew: true,
255
+
Description: `Optional. The reference to the network attachment used to establish private connectivity.
256
+
It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.
257
+
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.`,
258
+
},
259
+
"unreachable_cidr_block": {
260
+
Type: schema.TypeString,
261
+
Optional: true,
262
+
ForceNew: true,
263
+
Description: `Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
264
+
The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment.
265
+
This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses.
266
+
If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632.`,
267
+
},
268
+
"effective_unreachable_cidr_block": {
269
+
Type: schema.TypeString,
270
+
Computed: true,
271
+
Description: `Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
272
+
The size of this block is /25. The format of this field is governed by RFC 4632.`,
273
+
},
274
+
},
275
+
},
276
+
},
233
277
},
234
278
},
235
279
},
@@ -961,6 +1005,10 @@ func flattenDataFusionInstanceNetworkConfig(v interface{}, d *schema.ResourceDat
0 commit comments