finished testing and readme with screenshots

pull/52/head
Stephen Kirby 2 years ago
parent 1b51d08d21
commit 2ab85f0b17

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

@ -15,13 +15,16 @@ This module adds Fly.io regions to your Coder template. Regions can be whitelist
### Using default settings ### Using default settings
We can use the simplest format here, only adding a default selection as the `atl` region.
```hcl ```hcl
module "fly-region" { module "fly-region" {
source = "https://registry.coder.com/modules/fly-region" source = "https://registry.coder.com/modules/fly-region"
default = "atl"
} }
``` ```
[]() ![Fly.io Default](../.images/flyio-basic.png)
### Using region whitelist ### 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 ### Using custom icons and names
@ -55,3 +58,9 @@ module "fly-region" {
} }
} }
``` ```
![Fly.io custom icon and name](../.images/flyio-custom.png)
## Associated template
For a pre-configured Fly.io template, see the Coder template registry.

@ -281,3 +281,7 @@ data "coder_parameter" "fly_region" {
} }
} }
} }
output "value" {
value = data.coder_parameter.region.value
}
Loading…
Cancel
Save