Skip to content

Help creating new workspace templates with Terraform plans #3870

Answered by marrobi
kiebrew asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kiebrew , thanks for getting in touch. We could do with some better documentation in this space as per #3258 , hopefully something we can progress in the coming weeks.

My workflow is to put a deploy.sh file into the terraform directory (see an example templates/workspace_services/guacamole/terraform/deploy.sh), and then run make terraform-deploy, this imports the contents of the .env file into the appropriate TF_VAR environment variables. The reason we use .env is it can also be used with Porter.

Please be aware any terraform operations that needs data plane connectivity is likely to fail as the resources are on a VNET. I have dabbled with connecting VSCode to the resource provider us…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kiebrew
Comment options

Answer selected by kiebrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants