tfe-tfc-migration-tool
tfe-tfc-migration-tool copied to clipboard
Error when migrating Workspaces with VCS Connection
Hey, I always get an error when trying to migrate Workspaces that have a VCS Connection configured:
terrasnek.exceptions.TFCHTTPUnprocessableEntity: {'errors': [{'status': '422', 'title': 'invalid attribute', 'detail': "Identifier must be formatted as '[string]/[string]/_git/[string]'", 'source': {'pointer': '/data/attributes/identifier'}}]}
I checked the "source_workspaces"-list that is created in workspaces.py and the identifier of the workspace has a format like: "xxxxxxx/xxx.xxxxx/_git/xxx-xx-xxxxxx" which fulfills the expectation stated above.
Is the "." in the identifier causing issues?
.