infra/main/main: pass var.region instead of hardcode

This commit is contained in:
ryan-distrust.co 2023-05-11 23:21:25 -04:00
parent f28db63026
commit 430622c716
Signed by untrusted user who does not match committer: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ resource "random_id" "suffix" {
resource "digitalocean_custom_image" "talos" {
name = "talos"
url = "https://github.com/siderolabs/talos/releases/download/v1.4.3/digital-ocean-amd64.raw.gz"
regions = ["sfo3"]
regions = [var.region]
}
module "digitalocean_talos_cluster-2" {