Terraform Cloud - Local Execution, Workspace Variables

Is there any known ways to get variables from a Terraform Cloud Workspace when you’re doing local execution? It seems like there are massive trade-offs switching between local and remote execution.

I’d like to do local execution (happening in a CI runner, anyhow) but rely on Workspace variables because of the functionality and ease of use it offers.

To me, the biggest selling points for TFCB is remote state and some things around the variables.

I also want a local execution so I can have a plan file and be able to use something like OPA or Checkov with it.

1 Like