This module adds Fly.io regions to your Coder template. Regions can be whitelisted using the `regions` argument and given custom names and custom icons with their respective map arguments (`custom_names`, `custom_icons`).
## Examples
### Using default settings
We can use the simplest format here, only adding a default selection as the `atl` region.
```hcl
@ -26,6 +22,8 @@ module "fly-region" {

## Examples
### Using region whitelist
The regions argument can be used to display only the desired regions in the Coder parameter.
artifactory_access_token = var.artifactory_access_token # An admin access token
package_managers = {
"npm": "npm-local",
"go": "go-local",
"pypi": "pypi-local"
"npm": "npm-remote",
"go": "go-remote",
"pypi": "pypi-remote"
}
}
```
## Authentication
Get a JFrog access token from your Artifactory instance. The token must have admin permissions. It is recommended to store the token in a secret terraform variable.