davidfischer-ch / terraform-provider-aria

This is a Terraform provider for working with VMware's Aria Automation Platform (unofficial).
Mozilla Public License 2.0
3 stars 0 forks source link

Add formDefinition attribute to `aria_resource_action` #31

Closed davidfischer-ch closed 2 months ago

davidfischer-ch commented 2 months ago

And test the "update display name" use case, it seem that the missing formDefition attribute was triggering an internal error (Aria 500's).

Example :

{
"id": "Cloud.vSphere.Machine.custom.tme_csc_library.cloud.vsphere.machine.controlm_v1.install",
"name": "TME_CSC_Library.Cloud.vSphere.Machine.ControlM_v1.install",
"displayName": "TME Install Control-M agent TEST 2",
"description": "Installe l'agent Control-M.",
"providerName": "xaas",
"resourceType": "Cloud.vSphere.Machine",
"status": "RELEASED",
"orgId": "2817c6e5-7408-449f-a86d-8f511105e5ba",
"runnableItem": {
"id": "8a7480538f3b51b10190a671ea720a85",
"name": "TME_CSC_Library.Cloud.vSphere.Machine.ControlM_v1.install",
"projectId": "97f484f0-8329-440f-8fa7-5c8f8fa491fd",
"type": "abx.action",
"inputParameters": [],
"outputParameters": []
},
"formDefinition": {
"tenant": "2817c6e5-7408-449f-a86d-8f511105e5ba",
"id": "bc0f9a4e-7e8d-40cf-8e87-5a1a29fd152e",
"name": "TME_CSC_Library.Cloud.vSphere.Machine.ControlM_v1.install",
"form": "{\"layout\":{\"pages\":[{\"id\":\"page_1\",\"title\":\"Page 1\",\"sections\":[]}]},\"schema\":{}}",
"sourceType": "resource.action",
"sourceId": "Cloud.vSphere.Machine.custom.tme_csc_library.cloud.vsphere.machine.controlm_v1.install",
"type": "requestForm",
"status": "ON",
"formFormat": "JSON"
}
}