brainly/terraform-provider-redshift

Aurora Serverless v2 external_from_mysql not supported

Opened this issue · 1 comments

Creating an external_from_mysql to Aurora Serverless v2 throws an error "Unsupported source database type unknown" however the schema is created successfully (but terraform breaks)

I get the same error for provisioned Aurora MySQL.
Engine version 8.0.mysql_aurora.3.01.0.

Schema is created though, but terraform does not capture it.

On subsequent run terraform reports 'pq: Schema "somename" already exists'

Error message in tf debug mode:
2022-06-10T18:39:55.199+0300 [INFO] plugin.terraform-provider-redshift_v1.0.0: 2022/06/10 18:39:55 [ERR] Error writing fields: quota: '' expected type 'int', got unconvertible type 'string': timestamp=2022-06-10T18:39:55.198+0300 2022/06/10 18:39:55 [DEBUG] redshift_schema.database_name: apply errored, but we're indicating that via the Error pointer rather than returning it: Unsupported source database type unknown