philips-software / terraform-provider-hsdp

Terraform provider to orchestrate various HSDP resources like IAM, CDL, CDR, MDM, Container Host, Edge, etc
https://registry.terraform.io/providers/philips-software/hsdp/latest
MIT License
35 stars 14 forks source link

Request to provide a feature to migrate users in bulk from one org to another #380

Closed ragnaray closed 4 months ago

ragnaray commented 12 months ago

Usecase: We have a requirement where there are about 100 users registered for one mobile app in HSDP IAM. They all belong to an IAM org say Org1 and a group say group1. All these users have been created using api calls. Some of them using selfservice UI. We now need to migrate them in go from Org1 to Org2 and/or add them to group2 under Org2. This could be required while migrating from say dev to qa or qa to prod or from one mobile app to another. This needs to be done using terraform so that it can be automatic, parameterised.

loafoe commented 4 months ago

After looking at the effort have decided not to implement this at the provider level, recommend you look into using go-hsdp-api directly to script your migration.