In TFE I create a workspace that then creates 2 additional workspaces with variables. The initial plan of the 2 workspaces that are created by the original workspace fail, but when run a second time manually they succeed. I believe this is because the variables aren’t set in time for the first plan. Is there a way to either delay the plan or auto-run the plan a second time?
Automatically triggering runs isn’t something the TFC/E provider supports right now, unfortunately! However, setting the queue_all_runs
option to false might be another way to solve this problem.
That way, the workspace will not queue any runs automatically, and instead will wait until a run is manually queued through the UI.