From 72ab732fde941912fc56e38b408ce2a9ecfeef76 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Fri, 7 Feb 2025 15:32:27 +0500 Subject: [PATCH 1/2] Update parameter options and icons --- docs/data-sources/parameter.md | 8 ++++---- examples/data-sources/coder_parameter/data-source.tf | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/data-sources/parameter.md b/docs/data-sources/parameter.md index f40a9c83..faaee3dc 100644 --- a/docs/data-sources/parameter.md +++ b/docs/data-sources/parameter.md @@ -24,12 +24,12 @@ data "coder_parameter" "example" { option { value = "us-central1-a" name = "US Central" - icon = "/icon/usa.svg" + icon = "/icons/1f1fa-1f1f8.png" } option { - value = "asia-central1-a" - name = "Asia" - icon = "/icon/asia.svg" + value = "asia-southeast1-a" + name = "Singapore" + icon = "/icons/1f1f8-1f1ec.png" } } diff --git a/examples/data-sources/coder_parameter/data-source.tf b/examples/data-sources/coder_parameter/data-source.tf index 4efc3320..a08bcde4 100644 --- a/examples/data-sources/coder_parameter/data-source.tf +++ b/examples/data-sources/coder_parameter/data-source.tf @@ -9,12 +9,12 @@ data "coder_parameter" "example" { option { value = "us-central1-a" name = "US Central" - icon = "/icon/usa.svg" + icon = "/icons/1f1fa-1f1f8.png" } option { - value = "asia-central1-a" - name = "Asia" - icon = "/icon/asia.svg" + value = "asia-southeast1-a" + name = "Singapore" + icon = "/icons/1f1f8-1f1ec.png" } } From a8f9de228ab9196720de61030c4dfe3b82e70a78 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Fri, 7 Feb 2025 15:42:39 +0500 Subject: [PATCH 2/2] Fix test by setting correct default value --- docs/data-sources/parameter.md | 2 +- examples/data-sources/coder_parameter/data-source.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/data-sources/parameter.md b/docs/data-sources/parameter.md index faaee3dc..4da9dac2 100644 --- a/docs/data-sources/parameter.md +++ b/docs/data-sources/parameter.md @@ -20,7 +20,7 @@ data "coder_parameter" "example" { description = "Specify a region to place your workspace." mutable = false type = "string" - default = "asia-central1-a" + default = "us-central1-a" option { value = "us-central1-a" name = "US Central" diff --git a/examples/data-sources/coder_parameter/data-source.tf b/examples/data-sources/coder_parameter/data-source.tf index a08bcde4..ac0de7cb 100644 --- a/examples/data-sources/coder_parameter/data-source.tf +++ b/examples/data-sources/coder_parameter/data-source.tf @@ -5,7 +5,7 @@ data "coder_parameter" "example" { description = "Specify a region to place your workspace." mutable = false type = "string" - default = "asia-central1-a" + default = "us-central1-a" option { value = "us-central1-a" name = "US Central" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy