Problem
In HCP Terraform, when triggering a new run manually via +New Run -> Start a new run UI option
sometimes can result in "Invalid run parameters" error.
Cause
Since the UI button triggers a run with the last ingressed configuration version (repository data, variables, etc.), but does not ingress the latest code from the VCS repository, this leads to an inability to queue a run when the previously ingressed version has errored.
Solutions
- Create a "no-op" push to the repository to trigger a new configuration version to ingress.
OR
- Change the VCS settings in the workspace (such as selecting a different branch or disconnecting the VCS connection entirely) and then revert the change to try and trigger new ingress.
Additional Information
If you are unable to resolve the issue please contact support at tf-cloud@hashicorp.support or submit a ticket via our support portal.