Eliminar 'terraform.tfstate'.

Non é necesario, pode inducir a problemas.
This commit is contained in:
serxoz 2023-09-11 18:00:45 +02:00
parent eef407b5b8
commit 620464cad7

View File

@ -1,225 +0,0 @@
{
"version": 4,
"terraform_version": "1.5.6",
"serial": 84,
"lineage": "9d9b0d60-7a22-799c-7440-c01afa77a9fb",
"outputs": {},
"resources": [
{
"mode": "data",
"type": "external",
"name": "env",
"provider": "provider[\"registry.terraform.io/hashicorp/external\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "-",
"program": [
"./env.sh"
],
"query": null,
"result": {
"PM_API_TOKEN_ID": "tf@pve!terraform",
"PM_API_TOKEN_SECRET": "ad479bed-0769-4716-bf7b-55ad80a3ca8c"
},
"working_dir": null
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "proxmox_vm_qemu",
"name": "hashi_server",
"provider": "provider[\"registry.terraform.io/telmate/proxmox\"]",
"instances": [
{
"index_key": 0,
"schema_version": 0,
"attributes": {
"additional_wait": 5,
"agent": 0,
"args": "",
"automatic_reboot": true,
"balloon": 0,
"bios": "seabios",
"boot": "c",
"bootdisk": "scsi0",
"bridge": null,
"ci_wait": null,
"cicustom": "",
"cipassword": "7=+LNuFPaXFJWWi-",
"ciuser": "alpine",
"clone": "alpine-gold",
"clone_wait": 10,
"cloudinit_cdrom_storage": null,
"cores": 2,
"cpu": "host",
"default_ipv4_address": null,
"define_connection_info": true,
"desc": "",
"disk": [
{
"aio": "",
"backup": true,
"cache": "none",
"discard": "",
"file": "vm-103-disk-0",
"format": "raw",
"iops": 0,
"iops_max": 0,
"iops_max_length": 0,
"iops_rd": 0,
"iops_rd_max": 0,
"iops_rd_max_length": 0,
"iops_wr": 0,
"iops_wr_max": 0,
"iops_wr_max_length": 0,
"iothread": 0,
"mbps": 0,
"mbps_rd": 0,
"mbps_rd_max": 0,
"mbps_wr": 0,
"mbps_wr_max": 0,
"media": "",
"replicate": 0,
"size": "10G",
"slot": 0,
"ssd": 0,
"storage": "local-lvm",
"storage_type": "lvmthin",
"type": "scsi",
"volume": "local-lvm:vm-103-disk-0"
}
],
"disk_gb": null,
"force_create": false,
"force_recreate_on_change_of": null,
"full_clone": true,
"guest_agent_ready_timeout": 100,
"hagroup": "",
"hastate": "",
"hostpci": [],
"hotplug": "network,disk,usb",
"id": "pve/qemu/103",
"ipconfig0": "ip=192.168.1.71/24,gw=192.168.1.1",
"ipconfig1": "",
"ipconfig10": "",
"ipconfig11": "",
"ipconfig12": "",
"ipconfig13": "",
"ipconfig14": "",
"ipconfig15": "",
"ipconfig2": "",
"ipconfig3": "",
"ipconfig4": "",
"ipconfig5": "",
"ipconfig6": "",
"ipconfig7": "",
"ipconfig8": "",
"ipconfig9": "",
"iso": null,
"kvm": true,
"mac": null,
"machine": "",
"memory": 2048,
"name": "hashi-1",
"nameserver": "",
"network": [
{
"bridge": "vmbr0",
"firewall": false,
"link_down": false,
"macaddr": "0A:FE:8F:84:55:C3",
"model": "virtio",
"mtu": 0,
"queues": 0,
"rate": 0,
"tag": -1
}
],
"nic": null,
"numa": false,
"onboot": false,
"oncreate": true,
"os_network_config": null,
"os_type": "cloud-init",
"pool": "",
"preprovision": true,
"pxe": null,
"qemu_os": "l26",
"reboot_required": false,
"scsihw": "virtio-scsi-pci",
"searchdomain": "",
"serial": [],
"sockets": 1,
"ssh_forward_ip": null,
"ssh_host": null,
"ssh_port": null,
"ssh_private_key": null,
"ssh_user": null,
"sshkeys": " ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPiMj6yG62yNiju2H3FQicX76AsBRZfxpMMfVeCEXEsF sergio@nas\n\n",
"startup": "",
"storage": null,
"storage_type": null,
"tablet": true,
"tags": "",
"target_node": "pve",
"timeouts": null,
"unused_disk": [],
"usb": [],
"vcpus": 0,
"vga": [],
"vlan": -1,
"vmid": null
},
"sensitive_attributes": [
[
{
"type": "get_attr",
"value": "cipassword"
}
]
],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWZhdWx0IjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
"dependencies": [
"data.external.env",
"random_password.password"
]
}
]
},
{
"mode": "managed",
"type": "random_password",
"name": "password",
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
"instances": [
{
"schema_version": 3,
"attributes": {
"bcrypt_hash": "$2a$10$oYJ7Dy9JjkZw64Z3qrLk6.pTP41wEzi2e892x0RFVMrYgUgS2CO6K",
"id": "none",
"keepers": null,
"length": 16,
"lower": true,
"min_lower": 0,
"min_numeric": 0,
"min_special": 0,
"min_upper": 0,
"number": true,
"numeric": true,
"override_special": "!#$%\u0026*()-_=+[]{}\u003c\u003e:?",
"result": "7=+LNuFPaXFJWWi-",
"special": true,
"upper": true
},
"sensitive_attributes": []
}
]
}
],
"check_results": null
}