mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2026-05-14 10:15:30 +00:00
Compare commits
5 Commits
dd5c7b0fdc
...
fenix-admi
| Author | SHA1 | Date | |
|---|---|---|---|
| 91c89163ab | |||
| 765d969477 | |||
| e09fa70452 | |||
| 705c5df1f5 | |||
| 88de7affda |
@ -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
|
||||
@ -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 {
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user