Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: update example templates to use display_name #7001

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 17 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/templates/aws-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ data "coder_parameter" "region" {

data "coder_parameter" "instance_type" {
name = "instance_type"
display_name = "Instance Type"
display_name = "Instance type"
description = "What instance type should your workspace use?"
default = "t3.micro"
mutable = false
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/aws-windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ data "coder_parameter" "region" {

data "coder_parameter" "instance_type" {
name = "instance_type"
display_name = "Instance Type"
display_name = "Instance type"
description = "What instance type should your workspace use?"
default = "t3.micro"
mutable = false
Expand Down
4 changes: 2 additions & 2 deletions examples/templates/azure-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ data "coder_parameter" "location" {

data "coder_parameter" "instance_type" {
name = "instance_type"
display_name = "Instance Type"
display_name = "Instance type"
description = "What instance type should your workspace use?"
default = "Standard_B4ms"
icon = "/icon/azure.png"
Expand Down Expand Up @@ -205,7 +205,7 @@ data "coder_parameter" "instance_type" {

data "coder_parameter" "home_size" {
name = "home_size"
display_name = "Home Volume Size"
display_name = "Home volume size"
description = "How large would you like your home volume to be (in GB)?"
default = 20
type = "number"
Expand Down
6 changes: 3 additions & 3 deletions examples/templates/do-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ variable "step2_do_admin_ssh_key" {

data "coder_parameter" "droplet_image" {
name = "droplet_image"
display_name = "Droplet Image"
display_name = "Droplet image"
description = "Which Droplet image would you like to use?"
default = "ubuntu-22-04-x64"
type = "string"
Expand Down Expand Up @@ -112,7 +112,7 @@ data "coder_parameter" "droplet_image" {

data "coder_parameter" "droplet_size" {
name = "droplet_size"
display_name = "Droplet Size"
display_name = "Droplet size"
description = "Which Droplet configuration would you like to use?"
default = "s-1vcpu-1gb"
type = "string"
Expand Down Expand Up @@ -147,7 +147,7 @@ data "coder_parameter" "droplet_size" {

data "coder_parameter" "home_volume_size" {
name = "home_volume_size"
display_name = "Home Volume Size"
display_name = "Home volume size"
description = "How large would you like your home volume to be (in GB)?"
type = "number"
default = "20"
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/docker-with-dotfiles/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ data "coder_workspace" "me" {

data "coder_parameter" "docker_image" {
name = "docker_image"
display_name = "Docker Image"
display_name = "Docker image"
description = "The Docker image will be used to build your workspace."
default = "codercom/enterprise-base:ubuntu"
icon = "/icon/docker.png"
Expand Down
6 changes: 3 additions & 3 deletions examples/templates/fly-docker-image/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ EOF

data "coder_parameter" "docker-image" {
name = "docker-image"
display_name = "Docker Image"
display_name = "Docker image"
description = "The docker image to use for the workspace"
default = "codercom/code-server:latest"
icon = "https://raw.githubusercontent.com/matifali/logos/main/docker.svg"
Expand All @@ -131,7 +131,7 @@ data "coder_parameter" "cpu" {

data "coder_parameter" "cputype" {
name = "cputype"
display_name = "CPU Type"
display_name = "CPU type"
description = "Which CPU type do you want?"
default = "shared"
icon = "https://raw.githubusercontent.com/matifali/logos/main/cpu-1.svg"
Expand Down Expand Up @@ -162,7 +162,7 @@ data "coder_parameter" "memory" {

data "coder_parameter" "volume-size" {
name = "volume-size"
display_name = "Home Volume Size"
display_name = "Home volume size"
description = "The size of the volume to create for the workspace in GB (1-20)"
type = "number"
default = "1"
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/kubernetes/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ data "coder_parameter" "memory" {

data "coder_parameter" "home_disk_size" {
name = "home_disk_size"
display_name = "Home Disk Size"
display_name = "Home disk size"
description = "The size of the home disk in GB"
default = "10"
type = "number"
Expand Down