Example: Using devcontainer.json
to influence a Coder (Terraform) template
#121
Milestone
devcontainer.json
to influence a Coder (Terraform) template
#121
Note
I'm not sure how realistic this is, or whether it should be out of scope envbuilder as it's likely a Terraform provider/Coder feature. However, this is a somewhat common use case. It may not be a good fit for envbuilder v1.0 but worth discussing
Since envbuilder is a container image, it cannot influence the underlying infrastructure it can be provisioned on. However some Dev Container features do have support for additional infrastructure layers. Can we provide an example of how a Coder template can read a devcontainer.json and then influence the template? We have some customers doing this today with a custom
coder.yaml
Example: Kubernetes Volume Mounts
Option 2: TF Provider
The Coder server reads the devcontainer.json and passes data via a Terraform data source. This is related to coder/coder#8462.
Option 3: envbuilder + docker on a VM
If envbuilder runs on a VM, it could realistically do significantly more such as create Docker volumes as well as run a container.
The text was updated successfully, but these errors were encountered: