terraform-provider-airbyte
terraform-provider-airbyte copied to clipboard
changed primary key to non-computed
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 error primary 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
in streams
to non-computed, we avoid this error.
Any update on getting this resolved one way or another? We are running into a similar issue and it is a blocker for us to use the terraform provider for AirByte.
We facing the same issue, and it's very difficult to use the provider when we want to update a existing connection.
Do you have any news ?
@abusutil We just decided to pivot and use the API since it gave us more control.