mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: allow specifying devcontainer on agent in terraform (#16997)
This change allows specifying devcontainers in terraform and plumbs it through to the agent via agent manifest. This will be used for autostarting devcontainers in a workspace. Depends on coder/terraform-provider-coder#368 Updates #16423
This commit is contained in:
committed by
GitHub
parent
287e3198d8
commit
69ba27e347
15
coderd/database/migrations/testdata/fixtures/000303_add_workspace_agent_devcontainers.up.sql
vendored
Normal file
15
coderd/database/migrations/testdata/fixtures/000303_add_workspace_agent_devcontainers.up.sql
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
INSERT INTO
|
||||
workspace_agent_devcontainers (
|
||||
workspace_agent_id,
|
||||
created_at,
|
||||
id,
|
||||
workspace_folder,
|
||||
config_path
|
||||
)
|
||||
VALUES (
|
||||
'45e89705-e09d-4850-bcec-f9a937f5d78d',
|
||||
'2021-09-01 00:00:00',
|
||||
'489c0a1d-387d-41f0-be55-63aa7c5d7b14',
|
||||
'/workspace',
|
||||
'/workspace/.devcontainer/devcontainer.json'
|
||||
)
|
Reference in New Issue
Block a user