Skip to content

Add PSC connectivity support to Database Migration Service PrivateConnection#1312

Merged
modular-magician merged 1 commit into
terraform-google-modules:masterfrom
modular-magician:downstream-pr-1f6c3df3ea67d2f1ba850b09462d8e57ecc7b2c9
May 11, 2026
Merged

Add PSC connectivity support to Database Migration Service PrivateConnection#1312
modular-magician merged 1 commit into
terraform-google-modules:masterfrom
modular-magician:downstream-pr-1f6c3df3ea67d2f1ba850b09462d8e57ecc7b2c9

Conversation

@modular-magician
Copy link
Copy Markdown
Collaborator

This PR adds support for Private Service Connect (PSC) Interface connectivity to the google_database_migration_service_private_connection resource.

Previously, only VPC Peering was supported for private connectivity. With this change, users can now choose between VPC Peering and PSC Interface configuration using a standard oneof pattern.

Key Changes:

  • Updated PrivateConnection.yaml to include the psc_interface_config block and its network_attachment property.
  • Implemented exactly_one_of constraints to enforce that exactly one of vpc_peering_config or psc_interface_config is specified.
  • Added a new example template for PSC connectivity.

Internal Tracking: b/510395527

databasemigrationservice: added `psc_interface_config` field to `google_database_migration_service_private_connection` resource

Derived from GoogleCloudPlatform/magic-modules#17439

…nection (#17439)

Co-authored-by: Anna Levadnaia <alevadnaia@google.com>

[upstream:1f6c3df3ea67d2f1ba850b09462d8e57ecc7b2c9]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit e5163a6 into terraform-google-modules:master May 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant