Closed dutsmiller closed 3 years ago
just published here
https://registry.terraform.io/providers/salrashid123/http-full/latest
terraform {
required_providers {
http-full = {
source = "salrashid123/http-full"
version = "1.0.0"
}
}
}
provider "http-full" {
}
data "http" "example" {
provider = http-full
url = "https://httpbin.org/post"
request_headers = {
content-type = "application/json"
}
request_body = {
foo = "bar"
bar = "bar"
}
}
output "data" {
value = jsondecode(data.http.example.body)
}
Thanks so much!
Would it be possible to publish this to the terraform provider registry? This would make it much easier to consume.
https://www.terraform.io/docs/registry/providers/publishing.html