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 validator for `aria_abx_action` name #21

Open davidfischer-ch opened 2 months ago

davidfischer-ch commented 2 months ago
│ Error: Client error
│
│ with aria_resource_action.testday2,
│ on test_provider.tf line 31, in resource "aria_resource_action" "testday2":
│ 31: resource "aria_resource_action" "testday2" {
│
│ Unable to create Custom Resource Cloud.vSphere.Machine Additional Action
│ (Test day 2 SEL) project 996fb7f9-f176-43f8-a27b-bf1116f680e2, got error:
│ API response status code 500 (expected 200), Body:
│ {"timestamp":"2024-07-09T14:39:40.901+0000","path":"/form-service/api/custom/resource-actions","status":500,"error":"Internal
│ Server Error","message":"Invalid resource action name: Test day 2 SEL. Name
│ must not contain special symbols except . : - _ and must not start or end
│ with a
│ dot.","requestId":"bff9eca2-1433191","@type":"java.lang.IllegalArgumentException"}