hashicorp / terraform-provider-googleworkspace

Terraform Provider for Google Workspace
https://registry.terraform.io/providers/hashicorp/googleworkspace
Mozilla Public License 2.0
129 stars 56 forks source link

[Seeking Configurations] - GSuite Migration #204

Open megan07 opened 2 years ago

megan07 commented 2 years ago

Hello Community!

We're working on a tool that will migrate the old GSuite provider configurations/state to the Google Workspace provider. We have tested this provider with a basic configuration, but would love the community to help with testing it further. We want to make sure we're covering different use cases and Terraform configurations that will be migrated. If this will help you, please comment and attach the configurations you'd like us to test so we can run them through our tool!

Thanks!

chakrit commented 1 year ago

These are the issue I'm encountering while migrating:

Rather than a guide or a tool, I think it'd be most helpful if those kinds of issues are ironed out first. The GAM tool and some shell kung-fu already helps a lot during migration (for terraform import-ing)

The process I did was just simply:

  1. Grep old state and remove them
  2. Convert the code
  3. Generate and run terraform imports (using vim macro, greps, GAM, jq, ...)
  4. Handle edge cases.