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
Copy file name to clipboardExpand all lines: google/services/sql/resource_sql_database_instance.go
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -534,6 +534,11 @@ is set to true. Defaults to ZONAL.`,
534
534
Set: schema.HashString,
535
535
Description: `List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).`,
536
536
},
537
+
"network_attachment_uri": {
538
+
Type: schema.TypeString,
539
+
Optional: true,
540
+
Description: `Name of network attachment resource used to authorize a producer service to connect a PSC interface to the consumer's VPC. For example: "projects/myProject/regions/myRegion/networkAttachments/myNetworkAttachment". This is required to enable outbound connection on a PSC instance.`,
returnfmt.Errorf("settings.0.ip_configuration.0.psc_config.0.psc_enabled property value is not set as expected in state of %s, expected %v, actual %v", resourceName, expectedPscEnabled, pscEnabled)
@@ -479,6 +504,8 @@ The optional `settings.ip_configuration.psc_config` sublist supports:
479
504
480
505
*`consumer_network` - "The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project."
481
506
507
+
*`network_attachment_uri` - (Optional) Network Attachment URI in the format `projects/project1/regions/region1/networkAttachments/networkAttachment1` to enable outbound connectivity on PSC instance.
508
+
482
509
*`consumer_service_project_id` - (Optional) The project ID of consumer service project of this consumer endpoint.
483
510
484
511
The optional `settings.location_preference` subblock supports:
0 commit comments