Skip to content

databasemigrationservice: Add objects config field to DMS migration job resource for selective migration#1305

Merged
modular-magician merged 1 commit into
terraform-google-modules:masterfrom
modular-magician:downstream-pr-43948c1f29df13567c3d4d3497aa776cc9b1dfa3
Apr 30, 2026
Merged

databasemigrationservice: Add objects config field to DMS migration job resource for selective migration#1305
modular-magician merged 1 commit into
terraform-google-modules:masterfrom
modular-magician:downstream-pr-43948c1f29df13567c3d4d3497aa776cc9b1dfa3

Conversation

@modular-magician
Copy link
Copy Markdown
Collaborator

Description

Add support for configuring which databases, schemas, or tables to migrate on google_database_migration_service_migration_job via the new objects_config block. The objects_config block maps directly to the API's MigrationJobObjectsConfig and is the same field that gcloud's --database-filter flag populates for homogeneous migrations.

Mark the whole subtree immutable since it is not in the API's update mask

Tests Added

  • Added database_migration_service_migration_job_postgres_to_postgres_objects example demonstrating selection of a database and a specific table

Verification Results

  • Verified that the provider builds successfully with these changes.

Release Note Template for Downstream PRs (will be copied)

databasemigrationservice: added `objects_config` field to `google_database_migration_service_migration_job` resource

Derived from GoogleCloudPlatform/magic-modules#17302

…ob resource for selective migration (#17302)

[upstream:43948c1f29df13567c3d4d3497aa776cc9b1dfa3]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 9715fbd into terraform-google-modules:master Apr 30, 2026
2 checks 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