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

@@ -11,9 +11,9 @@ tags: [helper, parameter, azure, regions]
This module adds a parameter with all Azure regions, allowing developers to select the region closest to them.
```hcl
```tf
module "azure_region" {
source = "registry.coder.com/modules/azure-region/coder"
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
default = "eastus"
}
@@ -31,15 +31,15 @@ resource "azurem_resource_group" "example" {
Change the display name and icon for a region using the corresponding maps:
```hcl
```tf
module "azure-region" {
source = "registry.coder.com/modules/azure-region/coder"
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
custom_names = {
"australia": "Go Australia!"
"australia" : "Go Australia!"
}
custom_icons = {
"australia": "/icons/smiley.svg"
"australia" : "/icons/smiley.svg"
}
}
@@ -54,9 +54,9 @@ resource "azurerm_resource_group" "example" {
Hide all regions in Australia except australiacentral:
```hcl
```tf
module "azure-region" {
source = "registry.coder.com/modules/azure-region/coder"
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
exclude = [
"australia",