Declare incusbr0 network in Terraform #45

Merged
AlexCaswen merged 1 commit from 47-declare-incusbr0-network into main 2026-05-09 18:05:03 +00:00
AlexCaswen commented 2026-05-09 18:04:00 +00:00 (Migrated from gitlab.com)

Changes

  • Add incus_network.incusbr0 resource matching actual IncusOS config
  • lifecycle { ignore_changes = all } since IncusOS owns the bridge
  • Import block to bring existing resource into state
  • Update all 5 container NIC devices to reference incus_network.incusbr0.name instead of hardcoded "incusbr0" string

Key difference from issue template

Issue #47 suggested ipv6.address = "none" but actual config has fd42:f0a3:689e:cd65::1/64 with ipv6.nat = true. Matched the real config.

Post-merge

Remove the import block after the first successful tofu apply (import is one-shot).

Closes #47

## Changes - Add `incus_network.incusbr0` resource matching actual IncusOS config - `lifecycle { ignore_changes = all }` since IncusOS owns the bridge - Import block to bring existing resource into state - Update all 5 container NIC devices to reference `incus_network.incusbr0.name` instead of hardcoded `"incusbr0"` string ## Key difference from issue template Issue #47 suggested `ipv6.address = "none"` but actual config has `fd42:f0a3:689e:cd65::1/64` with `ipv6.nat = true`. Matched the real config. ## Post-merge Remove the `import` block after the first successful `tofu apply` (import is one-shot). Closes #47
AlexCaswen (Migrated from gitlab.com) approved these changes 2026-05-09 18:04:00 +00:00
AlexCaswen commented 2026-05-09 18:04:58 +00:00 (Migrated from gitlab.com)

approved this merge request

approved this merge request
AlexCaswen commented 2026-05-09 18:05:03 +00:00 (Migrated from gitlab.com)

mentioned in commit 8507c83535

mentioned in commit 8507c83535a1df734ca1191c6da9a2007612e5e3
AlexCaswen (Migrated from gitlab.com) merged commit 8507c83535 into main 2026-05-09 18:05:03 +00:00
AlexCaswen commented 2026-05-09 18:39:21 +00:00 (Migrated from gitlab.com)

mentioned in merge request !46

mentioned in merge request !46
Sign in to join this conversation.
No reviewers
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
midwitmoneymgmt/m3-infra!45
No description provided.