tfe-tfc-migration-tool icon indicating copy to clipboard operation
tfe-tfc-migration-tool copied to clipboard

Teams and module migration issues

Open rparmer opened this issue 2 years ago • 1 comments

We used this tool to migrate our org into and new TFE instance. It worked well but we did run into a couple issues.

  1. We have a large number in our org and the teams.py script only migrated the first 20 of them. We got around this by updating the terrasnek version to 0.1.3 and changing the script to call list_all rather than list. This unfortunately broke the workspace migration script since it is dependent on terrasnek 0.0.16. Using multiple runs with the different versions worked, but was not ideal.

  2. Our private modules with VCS connectivity were not migrated at all. After looking at the migrator.py script we found that there was no reference to call the registry migration script. After adding this it worked as expected

if self.registry_modules.is_valid_migration():
  self.registry_modules.migrate_all()

Everything else we ran worked as expected. This saved us so much time compared to migrating everything by hand so thank you for that!!

rparmer avatar Sep 20 '21 19:09 rparmer

Thanks for submitting this @rparmer02 and for identifying the issues, talked to @cneralich and we'll make these modifications soon.

dahlke avatar Oct 01 '21 00:10 dahlke