From 1d73a33b6eaf1aa796839832427c1909e6164385 Mon Sep 17 00:00:00 2001 From: Marcus Weiner Date: Sat, 3 Feb 2024 17:14:13 +0100 Subject: [PATCH] Set site id explicitly to avoid drift --- terraform/modules/supernode/vm.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/modules/supernode/vm.tf b/terraform/modules/supernode/vm.tf index 12110de..4d1f620 100644 --- a/terraform/modules/supernode/vm.tf +++ b/terraform/modules/supernode/vm.tf @@ -76,6 +76,7 @@ locals { } resource "netbox_virtual_machine" "supernode" { + site_id = data.netbox_cluster.vm_cluster.site_id cluster_id = data.netbox_cluster.vm_cluster.id name = local.vm_name status = "staged"