-
Notifications
You must be signed in to change notification settings - Fork 214
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
Syntax error creating roles/users on Redshift #150
Comments
Having thought about this since then I don't think this provider should attempt to support Redshift. Redshift is substantially its own thing distinct from Postgres. It's closed source, with no option for testing outside of a real cluster in AWS, which comes with substantial hourly costs even a cluster only exists for the life of a single acceptance test run. It's reasonable for PG tools to make minor changes for cross-compatibility but once there's Redshift-specific cases in The behaviors of RDS are limited and well known and ultimately it's still PG under the hood, just with some specific pre-configured roles. Seems like some folks have worked on Redshift providers: https://registry.terraform.io/search/providers?q=redshift In particular, note things like I've not tried that provider yet but it's quite new/active and probably what I'd start with. If you're using the purely PG-compatible subset of Redshift, then you can also use the |
It does make sense not to support Redshift, since there are separate providers that already do that. I tried brainly/redshift and it works like a charm for my use case. Thanks for your fast response, this issue can be closed. |
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
A new role is created.
Actual Behavior
Error: error creating role testrole: pq: syntax error at or near "ROLE"
Steps to Reproduce
Important Factoids
This is pretty much the same issue as the one created by @kinghuang . Since hashicorp/terraform-provider-postgresql is archived and issues are not moved here, I'm opening this new one. More details about possible solutions is in the old issue as explained by @bendrucker. See hashicorp/terraform-provider-postgresql#147 (comment)
References
The text was updated successfully, but these errors were encountered: