Open
Description
Describe the bug
The avi_customipamdnsprofile
resource requires a script_uri
argument, but there is no way to actually perform this file upload via Terraform.
In the UI, when creating a new custom IPAM/DNS profile, there's a Script
section to perform the file upload right in the UI; this appears to be executed as a form-data upload to https://avi-controller.contoso.com/api/fileservice/ipamdnsscripts?
Presumably, this would be managed via the avi_fileobject
resource of type IPAMDNSSCRIPTS
but I don't see a way to actually perform that upload which I opened as a separate issue in #635
Reproduction steps
- Attempt to utilize
avi_customipamdnsprofile
to create a custom IPAM/DNS profile
Expected behavior
That there be a supported method within the Terraform provider to perform the file upload; either on this resource or within another (avi_fileobject).
Additional context
Environment:
- Terraform v1.9.4
- terraform-provider-avi v30.2.2
- AVI 30.2.2