fixes
This commit is contained in:
@@ -40,7 +40,7 @@ resource "random_password" "k3s_token" {
|
||||
resource "proxmox_vm_qemu" "controller" {
|
||||
name = "k3s-controller"
|
||||
target_node = var.target_nodes["controller"]
|
||||
clone = var.template_id
|
||||
clone_id = var.template_id
|
||||
full_clone = true
|
||||
cpu {
|
||||
cores = 2
|
||||
@@ -80,7 +80,7 @@ EOT
|
||||
resource "proxmox_vm_qemu" "worker1" {
|
||||
name = "k3s-worker1"
|
||||
target_node = var.target_nodes["worker1"]
|
||||
clone = var.template_id
|
||||
clone_id = var.template_id
|
||||
full_clone = true
|
||||
cpu {
|
||||
cores = 2
|
||||
@@ -120,7 +120,7 @@ EOT
|
||||
resource "proxmox_vm_qemu" "worker2" {
|
||||
name = "k3s-worker2"
|
||||
target_node = var.target_nodes["worker2"]
|
||||
clone = var.template_id
|
||||
clone_id = var.template_id
|
||||
full_clone = true
|
||||
cpu {
|
||||
cores = 2
|
||||
|
||||
66
infrastructure-admin/terraform.tfstate
Normal file
66
infrastructure-admin/terraform.tfstate
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.13.0",
|
||||
"serial": 11,
|
||||
"lineage": "d5a26e70-76e1-4ee6-fbd3-7e17e672cf00",
|
||||
"outputs": {
|
||||
"controller_ip": {
|
||||
"value": "192.168.122.50",
|
||||
"type": "string"
|
||||
},
|
||||
"worker1_ip": {
|
||||
"value": "192.168.122.51",
|
||||
"type": "string"
|
||||
},
|
||||
"worker2_ip": {
|
||||
"value": "192.168.122.52",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "random_password",
|
||||
"name": "k3s_token",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 3,
|
||||
"attributes": {
|
||||
"bcrypt_hash": "$2a$10$0ezq9CVsJrbqqDgydnfT6e8KHK0xJqSUgV/4mEi0dxwDjEKXPaA4a",
|
||||
"id": "none",
|
||||
"keepers": null,
|
||||
"length": 32,
|
||||
"lower": true,
|
||||
"min_lower": 0,
|
||||
"min_numeric": 0,
|
||||
"min_special": 0,
|
||||
"min_upper": 0,
|
||||
"number": true,
|
||||
"numeric": true,
|
||||
"override_special": null,
|
||||
"result": "F8WQbWDIELGCnz1WlWSDKPNaCOsRgVHD",
|
||||
"special": false,
|
||||
"upper": true
|
||||
},
|
||||
"sensitive_attributes": [
|
||||
[
|
||||
{
|
||||
"type": "get_attr",
|
||||
"value": "bcrypt_hash"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "get_attr",
|
||||
"value": "result"
|
||||
}
|
||||
]
|
||||
],
|
||||
"identity_schema_version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"check_results": null
|
||||
}
|
||||
66
infrastructure-admin/terraform.tfstate.backup
Normal file
66
infrastructure-admin/terraform.tfstate.backup
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.13.0",
|
||||
"serial": 7,
|
||||
"lineage": "d5a26e70-76e1-4ee6-fbd3-7e17e672cf00",
|
||||
"outputs": {
|
||||
"controller_ip": {
|
||||
"value": "192.168.122.50",
|
||||
"type": "string"
|
||||
},
|
||||
"worker1_ip": {
|
||||
"value": "192.168.122.51",
|
||||
"type": "string"
|
||||
},
|
||||
"worker2_ip": {
|
||||
"value": "192.168.122.52",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "random_password",
|
||||
"name": "k3s_token",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 3,
|
||||
"attributes": {
|
||||
"bcrypt_hash": "$2a$10$0ezq9CVsJrbqqDgydnfT6e8KHK0xJqSUgV/4mEi0dxwDjEKXPaA4a",
|
||||
"id": "none",
|
||||
"keepers": null,
|
||||
"length": 32,
|
||||
"lower": true,
|
||||
"min_lower": 0,
|
||||
"min_numeric": 0,
|
||||
"min_special": 0,
|
||||
"min_upper": 0,
|
||||
"number": true,
|
||||
"numeric": true,
|
||||
"override_special": null,
|
||||
"result": "F8WQbWDIELGCnz1WlWSDKPNaCOsRgVHD",
|
||||
"special": false,
|
||||
"upper": true
|
||||
},
|
||||
"sensitive_attributes": [
|
||||
[
|
||||
{
|
||||
"type": "get_attr",
|
||||
"value": "bcrypt_hash"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "get_attr",
|
||||
"value": "result"
|
||||
}
|
||||
]
|
||||
],
|
||||
"identity_schema_version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"check_results": null
|
||||
}
|
||||
Reference in New Issue
Block a user