Working tests of policy and policies
This commit is contained in:
47
terraform/policy/test.json
Normal file
47
terraform/policy/test.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"planned_values": {
|
||||
"root_module": {
|
||||
"resources": [
|
||||
{
|
||||
"type": "proxmox_vm_qemu",
|
||||
"name": "insecure_vm",
|
||||
"values": {
|
||||
"cipassword": "password123",
|
||||
"ciuser": "root",
|
||||
"agent": 0,
|
||||
"network": [
|
||||
{
|
||||
"bridge": "vmbr0"
|
||||
}
|
||||
],
|
||||
"skip_ipv6": false,
|
||||
"memory": 256,
|
||||
"desc": "",
|
||||
"scsihw": "lsi",
|
||||
"cpu": "",
|
||||
"backup": false,
|
||||
"tags": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"configuration": {
|
||||
"provider_config": {
|
||||
"proxmox": {
|
||||
"expressions": {
|
||||
"pm_tls_insecure": {
|
||||
"constant_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"terraform": {
|
||||
"required_providers": {
|
||||
"proxmox": {
|
||||
"version_constraint": "~2.9.14"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user