-
Notifications
You must be signed in to change notification settings - Fork 75
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
Attaching multiple user policies does not work #331
Comments
The length is presumably because the Amazon IAM Documentation contains that limit. I haven't attached multiple policies to one user yet, but that's basically where the |
Hmm.. @zx1986 unsure if I understood you correctly yet. Was that a feature request? Would you like to specify how your solution to add multiple policies to a single user would look like? I'm not sure what your 'policy list' looks like (unflattened?). |
Thanks for your response @BuJo ! We had used pseudo codes:
that will be only
it works fine, until the |
I'm beginning to understand. Funny that this works. I guess the best interface from outside would be to allow an actual array instead of simply a string to avoid problems like this.. I'll have a look into it and see what I can do. |
I'm falling into this issue, any updates? |
I am running into same issue. Is there any workaround ? |
the work around for us right now is: to concatenate the list into a string |
@zx1986 could you show example? I have the same issue :/ |
terraform-provider-minio/minio/resource_minio_iam_policy.go
Line 130 in 627acce
It seems only one policy could attach to a user,
if I have multiple policies to attach, I have to flatten the policy list to a string (split by
,
) then attach?The text was updated successfully, but these errors were encountered: