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
(revert) cloudfunctions2: promoted `direct_vpc_network_interface` and `direct_vpc_egress` fields to GA in the `google_cloudfunctions2_function` resource.
3
+
```
4
+
5
+
```release-note:note
6
+
(revert) cloudfunctions2: added new fields `direct_vpc_network_interface` and `direct_vpc_egress`. Users who have enabled DirectVPC on the underlying Run service will need to take extra care, as the values may now need to be explicitly set in your configuration
Description: `Egress settings for direct VPC. If not provided, it defaults to VPC_EGRESS_PRIVATE_RANGES_ONLY. Possible values: ["VPC_EGRESS_ALL_TRAFFIC", "VPC_EGRESS_PRIVATE_RANGES_ONLY"]`,
442
-
},
443
-
"direct_vpc_network_interface": {
444
-
Type: schema.TypeList,
445
-
Optional: true,
446
-
Description: `The Direct VPC network interface for the Cloud Function. Currently only a single Direct VPC is supported.`,
447
-
Elem: &schema.Resource{
448
-
Schema: map[string]*schema.Schema{
449
-
"network": {
450
-
Type: schema.TypeString,
451
-
Optional: true,
452
-
Description: `The name of the VPC network to which the function will be connected. Specify either a VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name as the network.`,
453
-
},
454
-
"subnetwork": {
455
-
Type: schema.TypeString,
456
-
Optional: true,
457
-
Description: `The name of the VPC subnetwork that the Cloud Function resource will get IPs from. Specify either a VPC network or a subnet, or both. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.`,
458
-
},
459
-
"tags": {
460
-
Type: schema.TypeList,
461
-
Optional: true,
462
-
Description: `Network tags applied to this Cloud Function resource.`,
463
-
Elem: &schema.Schema{
464
-
Type: schema.TypeString,
465
-
},
466
-
},
467
-
},
468
-
},
469
-
},
470
436
"environment_variables": {
471
437
Type: schema.TypeMap,
472
438
Computed: true,
@@ -1375,10 +1341,6 @@ func flattenCloudfunctions2functionServiceConfig(v interface{}, d *schema.Resour
0 commit comments