Skip to content

Can't find workspace that does exist #12

@Rosalind-Fletcher

Description

@Rosalind-Fletcher

When running:

 tecli workspace find-by-name --name=${TFC_WORKSPACE_NAME} > workspace.json 2>error.txt || true

We sometimes encounter 'not found|no workspace was found' when the workspace does exist.

We think this happens because we have over 40 workspaces and when you run the terraform.io api call it paginates the results with 20 workspaces per list. This means that if you haven't deployed to the workspace for a while it will move down the list and not be found. We workaround this by changing the terraform version in the UI then change it back to the original version so that its at the top of the recently updated terraform list.

It would be good if the find-by-name returns all the results instead of just the first 20 paginated results.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions