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

users not found when adding to access group. #2034

Closed
SionArtingstall opened this issue Nov 12, 2020 · 2 comments
Closed

users not found when adding to access group. #2034

SionArtingstall opened this issue Nov 12, 2020 · 2 comments

Comments

@SionArtingstall
Copy link

Users not found when adding to an access group even though they are in the account and we have matched spelling and case from the console. This is happening for all users.

Terraform Version

v 13.5

Provider version 1.14.0

Affected Resource(s)

Please list the resources as a list, for example:
-ibm_iam_access_group_members
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Debug Output

Error: User xxxxx is not found under account xxxxx
on ../../../modules/ibm-iam-poc/iam-poc.tf line 12, in resource "ibm_iam_access_group_members" "resource_group_poc_members":
12: resource "ibm_iam_access_group_members" "resource_group_poc_members" {

Expected Behavior

when entering in ibm_ids i expect members to be found and added to the access group membership.

resource "ibm_iam_access_group_members" "accgroupmem" {
access_group_id = ibm_iam_access_group.accgroup.id
ibm_ids = ["[email protected]"]
iam_service_ids = [ibm_iam_service_id.serviceID.id]
}

Actual Behavior

Error: User xxxxx is not found under account xxxxx

Steps to Reproduce

  1. terraform apply
@SionArtingstall
Copy link
Author

any update to this as finding this issue on several different accounts where it is not finding users within the account that are there?

@hkantare
Copy link
Collaborator

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