Move variable "nodes" from main.tf to variables.tf #25

Open
opened 2026-07-25 19:37:13 +00:00 by lab · 0 comments
Owner

The variable "nodes" block is declared in main.tf instead of variables.tf. Move it to follow the convention (variables.tf for declarations, main.tf for resources).

Steps

  1. Cut the variable "nodes" block from main.tf
  2. Paste it at the end of variables.tf
  3. Run terraform validate to confirm
The `variable "nodes"` block is declared in `main.tf` instead of `variables.tf`. Move it to follow the convention (variables.tf for declarations, main.tf for resources). ## Steps 1. Cut the `variable "nodes"` block from `main.tf` 2. Paste it at the end of `variables.tf` 3. Run `terraform validate` to confirm
lab added this to the Cleanup & Hygiene milestone 2026-07-25 19:37:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lab/homelab#25
No description provided.