fix: Apply prettier formatting to Terraform code blocks
Removes extra spaces in comments to match prettier formatting rules.
This commit is contained in:
parent
fdc7d9b456
commit
a9d37a634e
@ -381,7 +381,7 @@ The most common approach is to mirror registry modules in an internal Git reposi
|
|||||||
```tf
|
```tf
|
||||||
module "code_server" {
|
module "code_server" {
|
||||||
source = "git::https://your-internal-git.com/coder-modules.git//modules/code-server"
|
source = "git::https://your-internal-git.com/coder-modules.git//modules/code-server"
|
||||||
version = "1.0.19" # Use Git tags for versioning
|
version = "1.0.19" # Use Git tags for versioning
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -436,7 +436,7 @@ module "code_server" {
|
|||||||
source = "registry.coder.com/coder/code-server/coder"
|
source = "registry.coder.com/coder/code-server/coder"
|
||||||
version = "1.0.19"
|
version = "1.0.19"
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
offline = true # Prevents downloading from external sources
|
offline = true # Prevents downloading from external sources
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -78,7 +78,7 @@ For air-gapped environments, reference modules from internal Git repositories:
|
|||||||
module "code_server" {
|
module "code_server" {
|
||||||
source = "git::https://internal-git.company.com/coder-modules.git//modules/code-server?ref=v1.0.19"
|
source = "git::https://internal-git.company.com/coder-modules.git//modules/code-server?ref=v1.0.19"
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
offline = true # Prevent external downloads
|
offline = true # Prevent external downloads
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ Vendor modules directly in your template repository:
|
|||||||
|
|
||||||
```tf
|
```tf
|
||||||
module "code_server" {
|
module "code_server" {
|
||||||
source = "./modules/code-server" # Relative path to vendored module
|
source = "./modules/code-server" # Relative path to vendored module
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user