Skip to content

feat(examples/templates): add aws vm devcontainer template #11248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 20, 2023
Prev Previous commit
Next Next commit
add code-server
  • Loading branch information
matifali authored Dec 17, 2023
commit 6142e2a69489969cc89bc11c69f8ce07e83f85d2
5 changes: 5 additions & 0 deletions examples/templates/aws-devcontainer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ resource "coder_agent" "dev" {
}
}

module "code-server" {
source = "https://registry.coder.com/modules/code-server"
agent_id = coder_agent.dev.id
}

locals {
linux_user = "coder"
user_data = <<-EOT
Expand Down