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

Error when remove user from group #83

Closed
Imploxion opened this issue Sep 16, 2022 · 2 comments
Closed

Error when remove user from group #83

Imploxion opened this issue Sep 16, 2022 · 2 comments

Comments

@Imploxion
Copy link

Imploxion commented Sep 16, 2022

I am trying to remove some users from a group but when run the apply I am getting an error from the provider that cannot find the user info.
I tried with different groups and users getting the same result. Not sure if there is a problem with the query in checkIfUserExists

module.aws-redshift.redshift_group.this["group_name"]: Modifying... [id=44633053]
2022-09-16T13:34:16.670+0200 [ERROR] vertex "module.aws-redshift.redshift_group.this[\"group_name\"]" error: error reading info about user: %!s(<nil>)
╷
│ Error: error reading info about user: %!s(<nil>)
│
│   with module.aws-redshift-data-redshift.redshift_group.this["group_name"],
│   on modules/aws-redshift/main.tf line 85, in resource "redshift_group" "this":
│   85: resource "redshift_group" "this" {
│
╵
´´´
@winglot
Copy link
Member

winglot commented Sep 21, 2022

Which version of the provider are you using?

I believe this has been fixed in the latest v1.0.2 release (https://github.com/brainly/terraform-provider-redshift/releases/tag/v1.0.2)

@Imploxion
Copy link
Author

I was using 1.0.1, I have updated and it worked.
Thank you

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

2 participants