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.
You can find a fully populated workspace template and descriptions of each field in our syntax guide.
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.