Skip to content

Unable to perform file upload to populate script_uri for avi_customipamdnsprofile configuration #636

Open
@jakauppila

Description

@jakauppila

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?

Image

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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions