Created
August 21, 2020 15:07
-
-
Save prydin/0809bed0e8f0fb118d8e3b35bd46b3b7 to your computer and use it in GitHub Desktop.
Correct output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 4, | |
"terraform_version": "0.12.24", | |
"serial": 4, | |
"lineage": "9edec340-c628-cc69-9151-74d3434fc461", | |
"outputs": { | |
"test3": { | |
"value": { | |
"ip": "192.168.1.9" | |
}, | |
"type": [ | |
"object", | |
{ | |
"ip": "string" | |
} | |
] | |
}, | |
"test_address": { | |
"value": { | |
"config": "Cafe.Shim.VirtualMachine.TotalStorageSize ChangeLease ChangeOwner Component ConnectViaNativeVmrc ConnectViaRdp ConnectViaVmrc CreateSnapshot DISK_VOLUMES.0.DISK_CAPACITY DISK_VOLUMES.0.DISK_INPUT_ID DISK_VOLUMES.0.DISK_LABEL Destroy EXTERNAL_REFERENCE_ID Expire Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.MachineProvisioned IS_COMPONENT_MACHINE InstallTools MachineBlueprintName MachineDailyCost MachineDestructionDate MachineExpirationDate MachineGroupName MachineGuestOperatingSystem MachineInterfaceDisplayName MachineInterfaceType MachineReservationName NETWORK_LIST.0.NETWORK_MAC_ADDRESS NETWORK_LIST.0.NETWORK_NAME PowerOff Reboot Reconfigure Relocate Reprovision Reset Shutdown Suspend Unregister VMPSMasterWorkflow32.BuildingMachine VirtualMachine.Admin.AgentID VirtualMachine.Admin.Hostname VirtualMachine.Admin.TotalDiskUsage VirtualMachine.Admin.UUID VirtualMachine.CPU.Count VirtualMachine.Cafe.Blueprint.Component.Cluster.Index VirtualMachine.Cafe.Blueprint.Component.Id VirtualMachine.Cafe.Blueprint.Component.TypeId VirtualMachine.Cafe.Blueprint.Id VirtualMachine.Cafe.Blueprint.Name VirtualMachine.Disk0.IsClone VirtualMachine.Memory.Size VirtualMachine.Storage.Name Vrm.ProxyAgent.Uri __datacollected_ipaddress _number_of_instances cpu custom_property endpointExternalReferenceId ip_address machineId memory name providerBindingId providerId security_tag someProperty storage subtenantId trace_id type" | |
}, | |
"type": [ | |
"object", | |
{ | |
"config": "string" | |
} | |
] | |
} | |
}, | |
"resources": [ | |
{ | |
"mode": "managed", | |
"type": "vra7_deployment", | |
"name": "machine", | |
"each": "list", | |
"provider": "provider.vra7", | |
"instances": [ | |
{ | |
"index_key": 0, | |
"schema_version": 0, | |
"attributes": { | |
"businessgroup_id": "38f5073e-9fa1-4f69-9571-6e5e1bae3aaa", | |
"businessgroup_name": "Terraform-BG", | |
"catalog_item_id": "84093797-deb1-4e5c-aad1-05d3d04f023c", | |
"catalog_item_name": "Ubuntu 18", | |
"date_created": "2020-08-21T14:52:03.605Z", | |
"deployment_configuration": null, | |
"deployment_destroy": true, | |
"deployment_id": "9f7cc77d-0d43-4ec6-85c8-74b89b9e239a", | |
"description": "some description", | |
"id": "2ae51624-30c4-48a5-a85e-f697c0b995b1", | |
"last_updated": "2020-08-21T15:02:54.450Z", | |
"lease_days": 9, | |
"lease_end": "2020-08-31T14:52:12.153Z", | |
"lease_start": "2020-08-21T14:52:12.153Z", | |
"name": "Ubuntu 18-40238942", | |
"owners": [ | |
"admin admin" | |
], | |
"reasons": "some reason", | |
"request_status": "SUCCESSFUL", | |
"resource_configuration": [ | |
{ | |
"cluster": 1, | |
"component_name": "VM1", | |
"configuration": { | |
"Cafe.Shim.VirtualMachine.TotalStorageSize": "16", | |
"ChangeLease": "true", | |
"ChangeOwner": "true", | |
"Component": "VM1", | |
"ConnectViaNativeVmrc": "true", | |
"ConnectViaRdp": "true", | |
"ConnectViaVmrc": "true", | |
"CreateSnapshot": "true", | |
"DISK_VOLUMES.0.DISK_CAPACITY": "16", | |
"DISK_VOLUMES.0.DISK_INPUT_ID": "DISK_INPUT_ID1", | |
"DISK_VOLUMES.0.DISK_LABEL": "Hard disk 1", | |
"Destroy": "true", | |
"EXTERNAL_REFERENCE_ID": "vm-7053", | |
"Expire": "true", | |
"Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.MachineProvisioned": "*", | |
"IS_COMPONENT_MACHINE": "false", | |
"InstallTools": "true", | |
"MachineBlueprintName": "Ubuntu 18", | |
"MachineDailyCost": "0", | |
"MachineDestructionDate": "2020-08-31T14:52:23.550Z", | |
"MachineExpirationDate": "2020-08-31T14:52:23.550Z", | |
"MachineGroupName": "Terraform-BG", | |
"MachineGuestOperatingSystem": "", | |
"MachineInterfaceDisplayName": "vSphere (vCenter)", | |
"MachineInterfaceType": "vSphere", | |
"MachineReservationName": "Developers", | |
"NETWORK_LIST.0.NETWORK_MAC_ADDRESS": "00:50:56:a2:90:a5", | |
"NETWORK_LIST.0.NETWORK_NAME": "VM Network", | |
"PowerOff": "true", | |
"Reboot": "true", | |
"Reconfigure": "true", | |
"Relocate": "true", | |
"Reprovision": "true", | |
"Reset": "true", | |
"Shutdown": "true", | |
"Suspend": "true", | |
"Unregister": "true", | |
"VMPSMasterWorkflow32.BuildingMachine": "*", | |
"VirtualMachine.Admin.AgentID": "49cb2242-30f9-cff7-e785-a1a3c726537e", | |
"VirtualMachine.Admin.Hostname": "Workload", | |
"VirtualMachine.Admin.TotalDiskUsage": "16384", | |
"VirtualMachine.Admin.UUID": "50221f13-7a5b-59f0-90c8-05755444ef53", | |
"VirtualMachine.CPU.Count": "1", | |
"VirtualMachine.Cafe.Blueprint.Component.Cluster.Index": "0", | |
"VirtualMachine.Cafe.Blueprint.Component.Id": "VM1", | |
"VirtualMachine.Cafe.Blueprint.Component.TypeId": "Infrastructure.CatalogItem.Machine.Virtual.vSphere", | |
"VirtualMachine.Cafe.Blueprint.Id": "Ubuntu18", | |
"VirtualMachine.Cafe.Blueprint.Name": "Ubuntu 18", | |
"VirtualMachine.Disk0.IsClone": "true", | |
"VirtualMachine.Memory.Size": "1024", | |
"VirtualMachine.Storage.Name": "freenas", | |
"Vrm.ProxyAgent.Uri": "https://win-8co2ktshlal/VMPS2Proxy", | |
"__datacollected_ipaddress": "192.168.1.9", | |
"_number_of_instances": "1", | |
"cpu": "1", | |
"custom_property": "VM custom property", | |
"endpointExternalReferenceId": "e72d25a1-2fb9-4d94-9a3d-6c5db7e9efc0", | |
"ip_address": "192.168.1.9", | |
"machineId": "f54af9f6-8a36-4728-a22a-6dc0810841b0", | |
"memory": "1024", | |
"name": "prydin-0027", | |
"providerBindingId": "Ubuntu18", | |
"providerId": "d48134a2-a45a-403c-a7e6-fbb6923172c0", | |
"security_tag": "[dev_sg, prod_sg]", | |
"someProperty": "Some value", | |
"storage": "16", | |
"subtenantId": "38f5073e-9fa1-4f69-9571-6e5e1bae3aaa", | |
"trace_id": "t04QFs94", | |
"type": "Virtual" | |
}, | |
"date_created": "2020-08-21T15:02:49.114Z", | |
"description": "", | |
"ip_address": "192.168.1.9", | |
"last_updated": "2020-08-21T15:03:40.230Z", | |
"name": "prydin-0027", | |
"parent_resource_id": "9f7cc77d-0d43-4ec6-85c8-74b89b9e239a", | |
"request_id": "2ae51624-30c4-48a5-a85e-f697c0b995b1", | |
"request_state": "SUCCESSFUL", | |
"resource_id": "7d0b6e2b-8f1e-425d-8d57-575a66b6d618", | |
"resource_type": "Infrastructure.Virtual", | |
"status": "On" | |
} | |
], | |
"tenant_id": "vsphere.local", | |
"wait_timeout": 15 | |
}, | |
"private": "bnVsbA==" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment