mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Move cloud instances to Falkenstein
This commit is contained in:
parent
0404ff186d
commit
4b0dee3a16
1 changed files with 6 additions and 4 deletions
10
instances.tf
10
instances.tf
|
|
@ -30,7 +30,7 @@ resource "hcloud_server" "db1" {
|
||||||
hcloud_ssh_key.froidmpa-desktop.id
|
hcloud_ssh_key.froidmpa-desktop.id
|
||||||
]
|
]
|
||||||
keep_disk = true
|
keep_disk = true
|
||||||
location = "hel1"
|
location = "fsn1"
|
||||||
|
|
||||||
network {
|
network {
|
||||||
network_id = hcloud_network.private_network.id
|
network_id = hcloud_network.private_network.id
|
||||||
|
|
@ -47,7 +47,8 @@ resource "hcloud_server" "db1" {
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
ignore_changes = [
|
ignore_changes = [
|
||||||
ssh_keys
|
ssh_keys,
|
||||||
|
image
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -61,7 +62,7 @@ resource "hcloud_server" "backend1" {
|
||||||
hcloud_ssh_key.froidmpa-desktop.id
|
hcloud_ssh_key.froidmpa-desktop.id
|
||||||
]
|
]
|
||||||
keep_disk = true
|
keep_disk = true
|
||||||
location = "hel1"
|
location = "fsn1"
|
||||||
|
|
||||||
network {
|
network {
|
||||||
network_id = hcloud_network.private_network.id
|
network_id = hcloud_network.private_network.id
|
||||||
|
|
@ -78,7 +79,8 @@ resource "hcloud_server" "backend1" {
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
ignore_changes = [
|
ignore_changes = [
|
||||||
ssh_keys
|
ssh_keys,
|
||||||
|
image
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue