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

terraform: airbyte_source_postgres always return additionalProperties must be a map when apply #78

Open
nazariyme opened this issue Feb 8, 2024 · 0 comments

Comments

@nazariyme
Copy link

Hey,

I try to create a new airbyte_source_postgres but get the error whenever I try to apply changes
I have tried different values for ssl_mode but it's still there. My last attempt was

ssl_mode = {
      disable = {}
    }

And also, I tried it like that

ssl_mode = {
      prefer = {
        additional_properties = "{ \"see\": \"documentation\" }"
      }
    }

The error

│ Error: failure to invoke API
│ 
│   with airbyte_source_postgres.source_postgres_dbrod,
│   on sources.tf line 1, in resource "airbyte_source_postgres" "source_postgres_dbrod":
│    1: resource "airbyte_source_postgres" "source_postgres_dbrod" {
│ 
│ error serializing request body: json: error calling MarshalJSON for type
│ shared.SourcePostgres: json: error calling MarshalJSON for type
│ *shared.SourcePostgresSSLModes: json: error calling MarshalJSON for type
│ *shared.SourcePostgresDisable: additionalProperties must be a map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant