-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DMS MigrationJob resource #11604
Add DMS MigrationJob resource #11604
Conversation
…inked to existing CSQL/AlloyDB instances.
…inked to existing CSQL/AlloyDB instances.
…inked to existing CSQL/AlloyDB instances.
…inked to existing CSQL/AlloyDB instances.
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @rileykarson, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_database_migration_service_migration_job" "primary" {
dump_path = # value needed
reverse_ssh_connectivity {
vm = # value needed
vm_ip = # value needed
vm_port = # value needed
vpc = # value needed
}
}
|
Tests analyticsTotal tests: 11 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_database_migration_service_migration_job" "primary" {
dump_path = # value needed
reverse_ssh_connectivity {
vm = # value needed
vm_ip = # value needed
vm_port = # value needed
vpc = # value needed
}
}
|
Tests analyticsTotal tests: 11 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
|
@rileykarson This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
] | ||
base_url: 'projects/{{project}}/locations/{{location}}/migrationJobs' | ||
create_url: 'projects/{{project}}/locations/{{location}}/migrationJobs?migrationJobId={{migration_job_id}}' | ||
update_verb: :PATCH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add update test(s) for the resource? https://googlecloudplatform.github.io/magic-modules/develop/test/test/#add-an-update-test
See comment below confirming the mutability of some fields, we generally want to cover every updatable field in at least one test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
- !ruby/object:Api::Type::String | ||
name: 'vm' | ||
description: | | ||
he name of the virtual machine (Compute Engine) used as the bastion server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
he name of the virtual machine (Compute Engine) used as the bastion server | |
The name of the virtual machine (Compute Engine) used as the bastion server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
- !ruby/object:Api::Type::NestedObject | ||
name: 'staticIpConnectivity' | ||
description: | | ||
static ip connectivity data (default, no additional details needed). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static ip connectivity data (default, no additional details needed). | |
If set to an empty object (`{}`), the source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. |
Text from https://cloud.google.com/database-migration/docs/reference/rest/v1/StaticIpConnectivity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
} | ||
static_ip_connectivity { | ||
} | ||
source = "projects/${data.google_project.project.project_id}/locations/us-central1/connectionProfiles/<%= ctx[:vars]["source_cp"] %>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here + other connection profile URLs, can we use a reference to their id
field? That would also allow removing the depends_on
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_database_migration_service_migration_job" "primary" {
dump_path = # value needed
reverse_ssh_connectivity {
vm = # value needed
vm_ip = # value needed
vm_port = # value needed
vpc = # value needed
}
}
|
Tests analyticsTotal tests: 12 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_database_migration_service_migration_job" "primary" {
dump_path = # value needed
reverse_ssh_connectivity {
vm = # value needed
vm_ip = # value needed
vm_port = # value needed
vpc = # value needed
}
}
|
Tests analyticsTotal tests: 12 Click here to see the affected service packages
View the build log |
@rileykarson This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 1 week. Please take a look! Use the label |
LGTM, thanks! |
Add the DMS resource
MigrationJob
to the Terraform Google provider.