forked from Fediversity/Fediversity
add todo to move template to host
This commit is contained in:
parent
89d9a8eef6
commit
ca03480e35
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@ locals {
|
|||
vm_host = "fedi202.abundos.eu"
|
||||
}
|
||||
|
||||
# FIXME move to host
|
||||
data "external" "base-hash" {
|
||||
program = ["sh", "-c", "echo \"{\\\"hash\\\":\\\"$(nix-hash ${path.module}/../common/nixos/base.nix)\\\"}\""]
|
||||
}
|
||||
|
@ -33,6 +34,7 @@ data "external" "hash" {
|
|||
program = ["sh", "-c", "echo \"{\\\"hash\\\":\\\"$(nix-hash ..)\\\"}\""]
|
||||
}
|
||||
|
||||
# FIXME move to host
|
||||
resource "terraform_data" "template" {
|
||||
triggers_replace = [
|
||||
data.external.base-hash.result,
|
||||
|
@ -52,6 +54,7 @@ resource "terraform_data" "template" {
|
|||
}
|
||||
}
|
||||
|
||||
# FIXME move to host
|
||||
resource "proxmox_virtual_environment_file" "upload" {
|
||||
lifecycle {
|
||||
replace_triggered_by = [
|
||||
|
|
Loading…
Add table
Reference in a new issue