5 Commits

Author SHA1 Message Date
91c89163ab [deploy-opentofu]
[deploy-opentofu]
2026-04-07 21:22:58 +00:00
765d969477 [deploy-opentofu]
[deploy-opentofu]
2026-04-07 21:15:45 +00:00
e09fa70452 consul
consul
2026-04-07 20:52:23 +00:00
705c5df1f5 [deploy-opentofu]
[deploy-opentofu]
2025-12-09 19:38:15 +00:00
88de7affda [deploy-opentofu]
[deploy-opentofu]
2025-12-09 13:40:55 +00:00
3 changed files with 7 additions and 15 deletions

View File

@ -1 +1,3 @@
the most stable branch is main, dev is where tests are made, and the remaining branches are personal and can undergo changes at any time
the most stable branch is main, dev is where tests are made, and the remaining branches are personal and can undergo changes at any time
i had to redo consul

View File

@ -19,7 +19,7 @@ resource "proxmox_virtual_environment_download_file" "latest_ubunto_cloud_img" {
content_type = "iso"
datastore_id = "local"
node_name = "fenix"
url = "https://cloud-images.ubuntu.com/jammy/20251206/jammy-server-cloudimg-amd64.img"
url = "https://cloud-images.ubuntu.com/jammy/20260218/jammy-server-cloudimg-amd64.img"
file_name = "jammyservercloudimgamd64.img"
}
@ -105,6 +105,7 @@ resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" {
cpu {
cores = 2
type = "host"
}
memory {
@ -148,10 +149,12 @@ resource "proxmox_virtual_environment_vm" "k8s_vms" {
clone {
vm_id = proxmox_virtual_environment_vm.proxmox-kubernetes-VM-template.id
full = true
}
cpu {
cores = each.value.cores
type = "host"
}
memory {

View File

@ -10,19 +10,6 @@ provider "vaultwarden" {
admin_token = var.vaultwarden_admin_token
}
resource "vaultwarden_account_register" "vaultwarden-acount-fenix" {
name = "fenix"
email = var.vaultwarden_email
password = var.vaultwarden_master_password
}
resource "bitwarden_item_login" "administrative-user" {
name = "teste"
username = "teste"
password = "teste"
collection_ids = [vaultwarden_organization_collection.vaultwarden-collection-iac.id]
}
resource "vaultwarden_organization" "vaultwarden-organization-fenix-iac" {
name = "fenix-iac"
}