-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add Datastream Spanner Source Support #16116
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
base: main
Are you sure you want to change the base?
Conversation
alonj-google
commented
Jan 12, 2026
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @slevenick, 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_datastream_connection_profile" "primary" {
spanner_profile {
database = # value needed
host = # value needed
}
}
Resource: resource "google_datastream_stream" "primary" {
backfill_all {
spanner_excluded_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
}
rule_sets {
object_filter {
source_object_identifier {
spanner_identifier {
schema = # value needed
table = # value needed
}
}
}
}
source_config {
spanner_source_config {
backfill_data_boost_enabled = # value needed
change_stream_name = # value needed
exclude_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
fgac_role = # value needed
include_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
max_concurrent_backfill_tasks = # value needed
max_concurrent_cdc_tasks = # value needed
spanner_rpc_priority = # value needed
}
}
}
|
Tests analyticsTotal tests: 19 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_datastream_connection_profile" "primary" {
spanner_profile {
database = # value needed
host = # value needed
}
}
Resource: resource "google_datastream_stream" "primary" {
backfill_all {
spanner_excluded_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
}
rule_sets {
object_filter {
source_object_identifier {
spanner_identifier {
schema = # value needed
table = # value needed
}
}
}
}
source_config {
spanner_source_config {
backfill_data_boost_enabled = # value needed
change_stream_name = # value needed
exclude_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
fgac_role = # value needed
include_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
max_concurrent_backfill_tasks = # value needed
max_concurrent_cdc_tasks = # value needed
spanner_rpc_priority = # value needed
}
}
}
|
Tests analyticsTotal tests: 19 Click here to see the affected service packages
🟢 All tests passed! View the build log |
|
/gcbrun |
|
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_datastream_connection_profile" "primary" {
spanner_profile {
database = # value needed
host = # value needed
}
}
Resource: resource "google_datastream_stream" "primary" {
backfill_all {
spanner_excluded_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
}
rule_sets {
object_filter {
source_object_identifier {
spanner_identifier {
schema = # value needed
table = # value needed
}
}
}
}
source_config {
spanner_source_config {
backfill_data_boost_enabled = # value needed
change_stream_name = # value needed
exclude_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
fgac_role = # value needed
include_objects {
schemas {
schema = # value needed
tables {
columns {
column = # value needed
}
table = # value needed
}
}
}
max_concurrent_backfill_tasks = # value needed
max_concurrent_cdc_tasks = # value needed
spanner_rpc_priority = # value needed
}
}
}
|
Tests analyticsTotal tests: 19 Click here to see the affected service packages
🟢 All tests passed! View the build log |
slevenick
left a comment
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 write an update test for this field? It should go in this file: https://github.com/GoogleCloudPlatform/magic-modules/blob/main/mmv1/third_party/terraform/services/datastream/resource_datastream_stream_test.go
| description: | | ||
| Table name. | ||
| required: true | ||
| - name: 'columns' |
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.
Should this be required?
| Spanner column. | ||
| type: NestedObject | ||
| properties: | ||
| - name: 'column' |
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.
This should be required if all other properties are output-only
| primary_resource_id: 'default' | ||
| vars: | ||
| source_connection_profile_id: 'source-profile' | ||
| exclude_test: true |
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.
Why are we excluding this test? Can we include it so we can make sure this all works
| stream_id: 'spanner-stream' | ||
| source_connection_profile_id: 'source-profile' | ||
| destination_connection_profile_id: 'destination-profile' | ||
| exclude_test: true |
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.
Same, why exclude?