Terraform output fails in workflow shell steps: Backend init required? #91
-
|
In the version of refarch we're using, we're hitting this issue when workflows try to run terraform output and do something with it: For example, in this workflow: The terraform deploy step works fine, but the direct call to terraform output explodes with the backend error. Interestingly, running Here’s another example: Same issue here — it tries to access terraform output and chokes, asking you manually run Are we using some undead or legacy configuration that’s haunting us? 🧟♂️ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
The intention behind both of these workflows is to add a bit of automation around a click ops operation. For example, with the VPN, we need to get the client configuration from the Similarly, when we're initially setting up DNS, we need to update the domain registrar with the NS records of the hosted zones created by the I recommend manually running |
Beta Was this translation helpful? Give feedback.
-
|
Hi @mtb-xt Thanks for the discussion. At this point, a clear recommendation has been provided and there hasn’t been additional activity on this thread for some time. Unless there are new constraints or unresolved concerns to raise, I believe this topic can be considered addressed and the discussion can be closed. Appreciate everyone who contributed context and guidance. |
Beta Was this translation helpful? Give feedback.
Another recommendation from the team is to try cleaning the component first and then rerunning the workflow: