From 6a0512390fe787fb9cc202bc8db1eeee182abe21 Mon Sep 17 00:00:00 2001 From: Daniel Henkel Date: Sun, 5 May 2024 20:22:39 +0200 Subject: [PATCH] fix(tf): only use available images --- infrastructure/terraform/02-game-server/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure/terraform/02-game-server/main.tf b/infrastructure/terraform/02-game-server/main.tf index a8c95ba..7b25620 100644 --- a/infrastructure/terraform/02-game-server/main.tf +++ b/infrastructure/terraform/02-game-server/main.tf @@ -23,6 +23,7 @@ data "hcloud_network" "cloud_game" { data "hcloud_image" "latest_game_server_image" { with_selector = "application=basic-gameserver" most_recent = true + with_status = ["available"] } module "firewall" {