168 lines
4.7 KiB
JSON
168 lines
4.7 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.5.7",
|
|
"serial": 4,
|
|
"lineage": "84903cbb-ad53-b825-a68d-c3918b8fc910",
|
|
"outputs": {
|
|
"pbs_container_id": {
|
|
"value": 200,
|
|
"type": "number"
|
|
},
|
|
"pbs_ip_address": {
|
|
"value": "10.1.20.11/24",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "proxmox_virtual_environment_container",
|
|
"name": "pbs",
|
|
"provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"clone": [],
|
|
"console": [],
|
|
"cpu": [
|
|
{
|
|
"architecture": "amd64",
|
|
"cores": 1,
|
|
"units": 1024
|
|
}
|
|
],
|
|
"description": "Proxmox Backup Server - Managed by Terraform\n",
|
|
"device_passthrough": [],
|
|
"disk": [
|
|
{
|
|
"acl": false,
|
|
"datastore_id": "local-lvm",
|
|
"mount_options": null,
|
|
"path_in_datastore": "local-lvm:vm-200-disk-0",
|
|
"quota": false,
|
|
"replicate": false,
|
|
"size": 16
|
|
}
|
|
],
|
|
"environment_variables": null,
|
|
"features": [],
|
|
"hook_script_file_id": null,
|
|
"id": "200",
|
|
"idmap": [],
|
|
"initialization": [
|
|
{
|
|
"dns": [
|
|
{
|
|
"domain": "",
|
|
"server": "",
|
|
"servers": [
|
|
"1.1.1.1",
|
|
"8.8.8.8"
|
|
]
|
|
}
|
|
],
|
|
"entrypoint": "",
|
|
"hostname": "pbs",
|
|
"ip_config": [
|
|
{
|
|
"ipv4": [
|
|
{
|
|
"address": "10.1.20.11/24",
|
|
"gateway": "10.1.20.254"
|
|
}
|
|
],
|
|
"ipv6": []
|
|
}
|
|
],
|
|
"user_account": []
|
|
}
|
|
],
|
|
"ipv4": {},
|
|
"ipv6": {},
|
|
"memory": [
|
|
{
|
|
"dedicated": 2048,
|
|
"swap": 512
|
|
}
|
|
],
|
|
"mount_point": [],
|
|
"network_interface": [
|
|
{
|
|
"bridge": "intra01",
|
|
"enabled": true,
|
|
"firewall": false,
|
|
"mac_address": "BC:24:11:BB:8F:56",
|
|
"mtu": 0,
|
|
"name": "eth0",
|
|
"rate_limit": 0,
|
|
"vlan_id": 0
|
|
}
|
|
],
|
|
"node_name": "gihyeon2",
|
|
"operating_system": [
|
|
{
|
|
"template_file_id": "local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst",
|
|
"type": "debian"
|
|
}
|
|
],
|
|
"pool_id": null,
|
|
"protection": false,
|
|
"start_on_boot": true,
|
|
"started": false,
|
|
"startup": [],
|
|
"tags": [
|
|
"backup",
|
|
"infra",
|
|
"terraform"
|
|
],
|
|
"template": false,
|
|
"timeout_clone": 1800,
|
|
"timeout_create": 1800,
|
|
"timeout_delete": 60,
|
|
"timeout_start": 300,
|
|
"timeout_update": 1800,
|
|
"unprivileged": true,
|
|
"vm_id": 200,
|
|
"wait_for_ip": []
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"proxmox_virtual_environment_download_file.debian12_template"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "proxmox_virtual_environment_download_file",
|
|
"name": "debian12_template",
|
|
"provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"checksum": null,
|
|
"checksum_algorithm": null,
|
|
"content_type": "vztmpl",
|
|
"datastore_id": "local",
|
|
"decompression_algorithm": null,
|
|
"file_name": "debian-12-standard_12.12-1_amd64.tar.zst",
|
|
"id": "local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst",
|
|
"node_name": "gihyeon2",
|
|
"overwrite": true,
|
|
"overwrite_unmanaged": false,
|
|
"size": 123731847,
|
|
"upload_timeout": 600,
|
|
"url": "http://download.proxmox.com/images/system/debian-12-standard_12.12-1_amd64.tar.zst",
|
|
"verify": true
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|