tfe-tfc-migration-tool
tfe-tfc-migration-tool copied to clipboard
Teams and module migration issues
We used this tool to migrate our org into and new TFE instance. It worked well but we did run into a couple issues.
-
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 calllist_all
rather thanlist
. 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. -
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!!
Thanks for submitting this @rparmer02 and for identifying the issues, talked to @cneralich and we'll make these modifications soon.