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

Error when migrating Workspaces with VCS Connection

Open BreuerJa opened this issue 2 years ago • 0 comments

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?

.

BreuerJa avatar Jan 28 '22 13:01 BreuerJa