Skip to content

Commit

Permalink
Merge pull request #45 from appuio/feat/exoscale-template
Browse files Browse the repository at this point in the history
vshn-lbaas-exoscale: Switch to new `exoscale_template` data source
  • Loading branch information
simu authored Jul 7, 2023
2 parents e4ecae7 + b60ded6 commit 0f1aabe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/vshn-lbaas-exoscale/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ resource "exoscale_anti_affinity_group" "lb" {
description = "${var.cluster_id} lb nodes"
}

data "exoscale_compute_template" "ubuntu2004" {
data "exoscale_template" "ubuntu2004" {
zone = var.region
name = "Linux Ubuntu 20.04 LTS 64-bit"
}
Expand Down Expand Up @@ -171,7 +171,7 @@ resource "exoscale_compute_instance" "lb" {
name = local.instance_fqdns[count.index]
ssh_key = var.ssh_key_name
zone = var.region
template_id = data.exoscale_compute_template.ubuntu2004.id
template_id = data.exoscale_template.ubuntu2004.id
type = var.lb_type
disk_size = 20

Expand Down

0 comments on commit 0f1aabe

Please sign in to comment.