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

Conflicts with syslog_access and superuser=false #95

Closed
Imploxion opened this issue Nov 23, 2022 · 1 comment · Fixed by #105
Closed

Conflicts with syslog_access and superuser=false #95

Imploxion opened this issue Nov 23, 2022 · 1 comment · Fixed by #105
Labels
bug Something isn't working

Comments

@Imploxion
Copy link

Hello.
I am trying to give an user syslog_access="UNRESTRICTED" while this user is not a superuser, since I know this is not a problem in Redshift but I am finding this error o the plan phase.

│ Error: Conflicting configuration arguments
│
│   with module....
│   on modules/.../main.tf line 4, in resource "redshift_user" "this":
│    4:   superuser       = var.superuser
│
│ "superuser": conflicts with syslog_access

There is a way to solve it? Thanks

@winglot
Copy link
Member

winglot commented Jan 16, 2023

Hello,
the conflict is due to how terraform handles conflicting fields, without taking the value into consideration. I will create a necessary change to allow use of syslog_access and superuser and only do the validation when the later is set to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants