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

How to add users to an existing group? #116

Open
ukreddy-erwin opened this issue Feb 27, 2023 · 1 comment
Open

How to add users to an existing group? #116

ukreddy-erwin opened this issue Feb 27, 2023 · 1 comment

Comments

@ukreddy-erwin
Copy link

redshift_group is creating newgroup.

Is there anyway to add users to an existing group?

Like this below code I got from some page but not working.

resource "aws_redshift_group_membership" "example" {
  group_name = "my-redshift-group"
  users      = ["user1", "user2"]
}
@winglot
Copy link
Member

winglot commented Mar 2, 2023

Hi,
there is no separate resource to manage just the group membership. The best, for now, would be to import an existing group to terraform using the terraform import command.

See import documentation for the redshift_group resource: https://registry.terraform.io/providers/brainly/redshift/latest/docs/resources/group#import

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