chore: add prettier terraform formatting in markdown files (#134)

This commit is contained in:
Mathias Fredriksson
2024-01-27 15:02:40 +02:00
committed by GitHub
parent 7d31865c94
commit 376c0cae31
27 changed files with 230 additions and 223 deletions

View File

@@ -13,9 +13,9 @@ This module adds Fly.io regions to your Coder template. Regions can be whitelist
We can use the simplest format here, only adding a default selection as the `atl` region.
```hcl
```tf
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
default = "atl"
}
@@ -29,9 +29,9 @@ module "fly-region" {
The regions argument can be used to display only the desired regions in the Coder parameter.
```hcl
```tf
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
default = "ams"
regions = ["ams", "arn", "atl"]
@@ -44,16 +44,16 @@ module "fly-region" {
Set custom icons and names with their respective maps.
```hcl
```tf
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
default = "ams"
custom_icons = {
"ams" = "/emojis/1f90e.png"
"ams" = "/emojis/1f90e.png"
}
custom_names = {
"ams" = "We love the Netherlands!"
"ams" = "We love the Netherlands!"
}
}
```