devops-rob / terraform-provider-terracurl

A flexible Terraform provider for making API calls
https://www.hashicorp.com/blog/writing-terraform-for-unsupported-resources
Mozilla Public License 2.0
134 stars 10 forks source link

Feature Request: Specify Files For Request Body #43

Open mhosker opened 1 year ago

mhosker commented 1 year ago

Hi!

Recently I have been trying to bootstrap some Azure webapps, part of this work includes uploading a ZIP file using the Kudu API via a PUT request.

Problem I have is specifying my .zip file in the request_body.

Would be super nice if TerraCurl could support file payloads! :)

Thanks! Mike

FalcoSuessgott commented 1 year ago

I really would need this for several use cases (create confluence pages with images, create tfe workspaces using the api driven workflow), maybe I have enough time to open a PR in the next week, just wanted to show the demand on that issue :)

devops-rob commented 1 year ago

Thanks. PRs are definitely welcome 🙂 this is a super cool feature request for the provider