Open arnoldokoth opened 11 months ago
I've run into the same problem.
Did some digging around and the error message comes from the hashicorp/tfci
image, and running the same commands in that docker image gets the same error. I didn't get any farther with the debug logs though.
Can you confirm you have specified a pre-existing workspace and and token
yes, I have confirmed that the token is set by running:
tfci run show -run run-tKXXXX
and it was successful, and the workspace exists. I have tried with the workspace name and the id, both with the same error.
Resolution for me was to use the correct type of token. It needs to be a Team token rather than an Organization token.
Resolution for me was to use the correct type of token. It needs to be a Team token rather than an Organization token.
yup, that worked 🎉 🤯
I guess this issue should be reframed to be a feature request for better documentation.
Any news guys? Because even using the team token I still get this error
Any news guys? Because even using the team token I still get this error
Hi friend @jonilsonds9, not sure from where you are starting at your config, but using this suggestion from https://discuss.hashicorp.com/t/terraform-cloud-workspaces-not-able-to-use-cli-plan-apply-error-updating-workspace-resource-not-found/52502/3 helped me.
TL;DR: just added a dummy tag totags
in my workspaces
config.
workspaces {
tags = ["some-tag"]
}
In my case, I had to enable the "Manage all workspaces" setting for the team as well (you can probably also do it just for a specific workspace if that's better for your setup).
Resolution for me was to use the correct type of token. It needs to be a Team token rather than an Organization token.
Thank you for the resolution, This should be mentioned in the following source
Running into this error and not quite sure what's causing it:
Did I misconfigure something?