## Description Allow for devcontainer-cli module to prevent users from logging in until its finished running. ## Type of Change - [ ] New module - [ ] New template - [ ] Bug fix - [x ] Feature/enhancement - [ ] Documentation - [ ] Other ## Module Information **Path:** `registry/coder/modules/devcontainers-cli` **New version:** `1.1.0` **Breaking change:** [ ] Yes [x ] No ## Testing & Validation - [x] Tests pass (`bun test`) - [ ] Code formatted (`bun fmt`) - [ x] Changes tested locally ## Related Issues None --------- Co-authored-by: DevCats <chris@dualriver.com> Co-authored-by: DevCats <christofer@coder.com>
23 lines
785 B
Markdown
23 lines
785 B
Markdown
---
|
|
display_name: devcontainers-cli
|
|
description: devcontainers-cli module provides an easy way to install @devcontainers/cli into a workspace
|
|
icon: ../../../../.icons/devcontainers.svg
|
|
verified: true
|
|
tags: [devcontainers]
|
|
---
|
|
|
|
# devcontainers-cli
|
|
|
|
The devcontainers-cli module provides an easy way to install [`@devcontainers/cli`](https://github.com/devcontainers/cli) into a workspace. It can be used within any workspace as it runs only if
|
|
@devcontainers/cli is not installed yet.
|
|
`npm` is required and should be pre-installed in order for the module to work.
|
|
|
|
```tf
|
|
module "devcontainers-cli" {
|
|
source = "registry.coder.com/coder/devcontainers-cli/coder"
|
|
version = "1.1.0"
|
|
agent_id = coder_agent.example.id
|
|
start_blocks_login = false
|
|
}
|
|
```
|