mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: missing spacing added; typo fix (#1586)
Co-authored-by: Ben <ben@coder.com>
This commit is contained in:
@@ -54,7 +54,7 @@ Edit the validation to include the new image:
|
||||
|
||||
```diff
|
||||
variable "docker_image" {
|
||||
description = "What Docker imagewould you like to use for your workspace?"
|
||||
description = "What Docker image would you like to use for your workspace?"
|
||||
default = "base"
|
||||
|
||||
# List of images available for the user to choose from.
|
||||
|
||||
@@ -56,7 +56,7 @@ resource "coder_agent" "dev" {
|
||||
}
|
||||
|
||||
variable "docker_image" {
|
||||
description = "What Docker imagewould you like to use for your workspace?"
|
||||
description = "What Docker image would you like to use for your workspace?"
|
||||
default = "base"
|
||||
|
||||
# List of images available for the user to choose from.
|
||||
|
||||
@@ -20,7 +20,7 @@ Edit the template:
|
||||
vim main.tf
|
||||
```
|
||||
variable "docker_image" {
|
||||
description = "What Docker imagewould you like to use for your workspace?"
|
||||
description = "What Docker image would you like to use for your workspace?"
|
||||
default = "codercom/enterprise-base:ubuntu"
|
||||
validation {
|
||||
- condition = contains(["codercom/enterprise-base:ubuntu", "codercom/enterprise-node:ubuntu", "codercom/enterprise-intellij:ubuntu"], var.docker_image)
|
||||
@@ -46,7 +46,7 @@ To reduce drift, we recommend versioning images in your registry by creating tag
|
||||
|
||||
```sh
|
||||
variable "docker_image" {
|
||||
description = "What Docker imagewould you like to use for your workspace?"
|
||||
description = "What Docker image would you like to use for your workspace?"
|
||||
default = "codercom/enterprise-base:ubuntu"
|
||||
validation {
|
||||
- condition = contains(["my-org/base-development:v1.1", "myorg-java-development:v1.1"], var.docker_image)
|
||||
|
||||
Reference in New Issue
Block a user