mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
fix(tf): reimu
This commit is contained in:
parent
24d40f1d3e
commit
fcdba6ed34
2 changed files with 16 additions and 3 deletions
|
|
@ -26,6 +26,14 @@ module "hakurei_system_records" {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module "reimu_system_records" {
|
||||||
|
source = "./system/records"
|
||||||
|
name = "reimu"
|
||||||
|
zone_id = cloudflare_zone.gensokyo-zone_zone.id
|
||||||
|
zone_zone = cloudflare_zone.gensokyo-zone_zone.zone
|
||||||
|
local_v6 = "fd0a::be24:11ff:fec4:66a8"
|
||||||
|
}
|
||||||
|
|
||||||
module "tewi_system_records" {
|
module "tewi_system_records" {
|
||||||
source = "./system/records"
|
source = "./system/records"
|
||||||
name = "tei"
|
name = "tei"
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,10 @@ data "proxmox_virtual_environment_vm" "kubernetes" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "proxmox_virtual_environment_container" "reimu" {
|
resource "proxmox_virtual_environment_container" "reimu" {
|
||||||
node_name = "reisen"
|
node_name = "reisen"
|
||||||
vm_id = 104
|
vm_id = 104
|
||||||
tags = ["tf"]
|
tags = ["tf"]
|
||||||
|
description = "big hakurei"
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
dedicated = 512
|
dedicated = 512
|
||||||
|
|
@ -51,6 +52,10 @@ resource "proxmox_virtual_environment_container" "reimu" {
|
||||||
type = "console"
|
type = "console"
|
||||||
}
|
}
|
||||||
started = false
|
started = false
|
||||||
|
|
||||||
|
lifecycle {
|
||||||
|
ignore_changes = [started]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "terraform_data" "proxmox_reimu_config" {
|
resource "terraform_data" "proxmox_reimu_config" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue