fix: switch hcloud instances to CX22 (CX11 doesn't exist anymore)
This commit is contained in:
parent
0aa41b303d
commit
9caf1deb74
1 changed files with 3 additions and 3 deletions
|
@ -50,13 +50,13 @@ class BridgeHcloudAutomation(BridgeAutomation):
|
|||
provider = hcloud.account_{{ bridge.id }}
|
||||
}
|
||||
|
||||
data "hcloud_server_type" "cx11_{{ bridge.id }}" {
|
||||
data "hcloud_server_type" "cx22_{{ bridge.id }}" {
|
||||
provider = hcloud.account_{{ bridge.id }}
|
||||
name = "cx11"
|
||||
name = "cx22"
|
||||
}
|
||||
|
||||
resource "random_shuffle" "datacenter_{{ bridge.id }}" {
|
||||
input = [for s in data.hcloud_datacenters.ds_{{ bridge.id }}.datacenters : s.name if contains(s.available_server_type_ids, data.hcloud_server_type.cx11_{{ bridge.id }}.id)]
|
||||
input = [for s in data.hcloud_datacenters.ds_{{ bridge.id }}.datacenters : s.name if contains(s.available_server_type_ids, data.hcloud_server_type.cx22_{{ bridge.id }}.id)]
|
||||
result_count = 1
|
||||
|
||||
lifecycle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue