|
|
|
@ -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"
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
[]()
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Using region whitelist
|
|
|
|
@ -36,7 +39,7 @@ module "fly-region" {
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
TODO: Add screenshot filtered_flyio.png
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Using custom icons and names
|
|
|
|
@ -54,4 +57,10 @@ module "fly-region" {
|
|
|
|
|
"ams" = "We love the Netherlands!"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
## Associated template
|
|
|
|
|
|
|
|
|
|
For a pre-configured Fly.io template, see the Coder template registry.
|