cloudfoundry-community/terraform-provider-cloudfoundry

Error: The user exists in multiple origins. Specify an origin for the requested user from: 'sap.ids' --> when using cloudfoundry_org_users

Kartheeko07 opened this issue · 6 comments

When using the terraform provider for cloudfoundry and trying to following resource, i am not able to pass the origin

resource "cloudfoundry_org_users" "ou1" {
org = "organization-id"
managers = ["user-guid", "username"]
billing_managers = ["user-guid", "username"]
auditors = ["user-guid", "username"]
}

Since i am not able to pass the origin and i have mutliple origins from IAS tenant the users additions is failing

@Kartheeko07 this is a feature, which is required in the CF provider by several people in #535

Hi @linda-sap ,
Is there any update on when this can be available ?

+1
Facing the same issue.
Not able to specify the origin.

Example error:
cloudfoundry_org_users.ou1: Creating...

│ Error: The user exists in multiple origins. Specify an origin for the requested user from: 'sap.ids', 'sap.default'

│ with cloudfoundry_org_users.ou1,
│ on main.tf line 1, in resource "cloudfoundry_org_users" "ou1":
│ 1: resource "cloudfoundry_org_users" "ou1" {

+1