cloudfoundry-community / terraform-provider-cloudfoundry

Terraform Cloud Foundry Provider
https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest
Mozilla Public License 2.0
73 stars 86 forks source link

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

Open Kartheeko07 opened 6 months ago

Kartheeko07 commented 6 months ago

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

linda-sap commented 6 months ago

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

Kartheeko07 commented 6 months ago

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

Mohit-21 commented 4 months ago

+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" {

ignipae commented 3 months ago

+1

linkingli commented 2 months ago

+1