Workspaces as code

1 min read

Learn how to describe environment configuration as code.

Workspaces as code (WAC) brings the Infrastructure As Code paradigm to Coder environments. WAC allows you to define and create new environments using workspace templates.

Workspace Templates are declarative YAML files that describe how to configure environments and their supporting infrastructure.


Creating a workspace template

You can find a fully populated workspace template and descriptions of each field in our syntax guide.

Adding an Embeddable Button

To make it easy for your developers to use your template, you can generate an embeddable Markdown button for use in your repo. See the admin guide for details.

Our docs are open source. See something wrong or unclear? Make an edit.