-
Notifications
You must be signed in to change notification settings - Fork 49
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
can not import redshift_users that is a superuser with self-managed password #56
Comments
I think you can workaround that and have superusers imported and managed by terraform while having their passwords managed externally. When you do an import of
Would that work for you? |
@winglot here's my suggestion: #70 - it will just delay the error until the apply (passing through the error from redshift on the attempt to create a super user with no password.)
|
…icorp-terraform-plugin-sdk-v2-2.x Update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.30.0
For users who do not want to manage their passwords via the terraform module, but DO want to manage super users, the check I (dumbly) requested for super user passwords prevents that -- superusers only need to have their password set at the time that they are created on redshift, not when they are imported.
Currently I get the following when trying to upgrade from 0.5.0 to 0.6.0:
The check to make sure a super user resource has a password shoudl only occur if the user doesn't exist in redshift. Anyway, I think my original feature request was misguided and pointless, apologies!
The text was updated successfully, but these errors were encountered: