Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR obviously changes the code generated by Speakeasy, so someone will have to modify the speakeasy config correctly to make this change (I do not have access to speakeasy to confirm that any changes will work). However, this fixes #91
Recreating the issue:
Create a postgres source that reads from a table that has a defined primary key and use
"sync_mode": "incremental_deduped_history"
- do not supply a primary key here. This should be able to be applied. However, if you make an changes to this resource, terraform will read and try to send the primary key that was supplied by the database causing the API errorprimary key for stream: <stream> already pre-defined. Please do NOT include a primary key configuration for this stream
and will not be able to apply the change.By changing
primary_key
instreams
to non-computed, we avoid this error.