diff --git a/.images/filtered_flyio.png b/.images/filtered_flyio.png deleted file mode 100644 index f7b0711..0000000 Binary files a/.images/filtered_flyio.png and /dev/null differ diff --git a/fly-region/README.md b/fly-region/README.md index 5e71540..ba831b4 100644 --- a/fly-region/README.md +++ b/fly-region/README.md @@ -15,13 +15,16 @@ This module adds Fly.io regions to your Coder template. Regions can be whitelist ### Using default settings +We can use the simplest format here, only adding a default selection as the `atl` region. + ```hcl module "fly-region" { source = "https://registry.coder.com/modules/fly-region" + default = "atl" } ``` -[]() +![Fly.io Default](../.images/flyio-basic.png) ### Using region whitelist @@ -36,7 +39,7 @@ module "fly-region" { } ``` - TODO: Add screenshot filtered_flyio.png +![Fly.io Filtered Regions](../.images/flyio-filtered.png) ### Using custom icons and names @@ -54,4 +57,10 @@ module "fly-region" { "ams" = "We love the Netherlands!" } } -``` \ No newline at end of file +``` + +![Fly.io custom icon and name](../.images/flyio-custom.png) + +## Associated template + +For a pre-configured Fly.io template, see the Coder template registry. \ No newline at end of file diff --git a/fly-region/main.tf b/fly-region/main.tf index cafb91e..d37d346 100644 --- a/fly-region/main.tf +++ b/fly-region/main.tf @@ -280,4 +280,8 @@ data "coder_parameter" "fly_region" { value = option.key } } +} + +output "value" { + value = data.coder_parameter.region.value } \ No newline at end of file