From e446d33a51a9f8fc18f224a5a6bee8ebb8d1ef21 Mon Sep 17 00:00:00 2001 From: BackInBash <48181660+BackInBash@users.noreply.github.com> Date: Wed, 2 Apr 2025 14:24:34 +0200 Subject: [PATCH] nic depends on --- 04-pfsense-appliance.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/04-pfsense-appliance.tf b/04-pfsense-appliance.tf index 1905ba0..986329c 100644 --- a/04-pfsense-appliance.tf +++ b/04-pfsense-appliance.tf @@ -1,6 +1,6 @@ /* Copyright 2023 Schwarz IT KG -Copyright 2024 STACKIT GmbH & Co. KG +Copyright 2024-2025 STACKIT GmbH & Co. KG Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at @@ -34,6 +34,7 @@ resource "stackit_server_network_interface_attach" "nic-attachment-lan" { project_id = var.STACKIT_PROJECT_ID server_id = stackit_server.pfsense_Server.server_id network_interface_id = stackit_network_interface.nic_lan.network_interface_id + depends_on = [ stackit_server_network_interface_attach.nic-attachment-wan ] } resource "stackit_server_network_interface_attach" "nic-attachment-wan" { project_id = var.STACKIT_PROJECT_ID