Skip to content
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

Change datastream stream merge and append_only to conflicts with #18903

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/11292.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
datastream: removed a breaking change in `google_datastream_stream` that made one of `destination_config.0.bigquery_destination_config.0.merge` or `destination_config.0.bigquery_destination_config.0.append_only` required
```
4 changes: 2 additions & 2 deletions google/services/datastream/resource_datastream_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ historical state of the data.`,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{},
},
ExactlyOneOf: []string{"destination_config.0.bigquery_destination_config.0.merge", "destination_config.0.bigquery_destination_config.0.append_only"},
ConflictsWith: []string{"destination_config.0.bigquery_destination_config.0.merge"},
},
"data_freshness": {
Type: schema.TypeString,
Expand All @@ -179,7 +179,7 @@ in the source database. With Merge mode, no historical record of the change even
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{},
},
ExactlyOneOf: []string{"destination_config.0.bigquery_destination_config.0.merge", "destination_config.0.bigquery_destination_config.0.append_only"},
ConflictsWith: []string{"destination_config.0.bigquery_destination_config.0.append_only"},
},
"single_target_dataset": {
Type: schema.TypeList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,6 @@ resource "google_datastream_stream" "default" {
kms_key_name = "%{bigquery_destination_table_kms_key_name}"
}
}
merge {}
}
}

Expand Down
1 change: 0 additions & 1 deletion website/docs/r/datastream_stream.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,6 @@ resource "google_datastream_stream" "default" {
kms_key_name = "bigquery-kms-name"
}
}
merge {}
}
}

Expand Down