Releases: hashicorp/terraform-provider-http
Releases · hashicorp/terraform-provider-http
v3.4.5
v3.4.4
NOTES:
- data-source/http: Previous versions of this provider ignored any
Host
headers specified in therequest_headers
attribute when setting the HTTP request. Any specifiedHost
request header will now be set on the HTTP request.
For example, in the following configuration:
data "http" "example" {
url = "https://www.example.com"
request_headers = {
Host = "www.differentexample.com"
}
}
The HTTP request URL host is still www.example.com
but the HTTP request Host
header will now be www.differentexample.com
instead of www.example.com
.
(#440)
BUG FIXES:
- data-source/http: Allow
Host
header inrequest_headers
to be set on HTTP request (#440)
v3.4.3
v3.4.2
NOTES:
- data-source/http: Previously the HTTP request would unexpectedly always contain a body for all requests. Certain HTTP server implementations are sensitive to this data existing if it is not expected. Requests now only contain a request body if the
request_body
attribute is explicitly set. To exactly preserve the previous behavior, setrequest_body = ""
. (#388)
BUG FIXES:
- data-source/http: Ensured HTTP request body is not sent unless configured (#388)
v3.4.1
v3.4.0
ENHANCEMENTS:
v3.3.0
NOTES:
- This Go module has been updated to Go 1.19 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#245)
ENHANCEMENTS:
v3.2.1
v3.2.0
ENHANCEMENTS:
- data-source/http: Added
ca_cert_pem
attribute which allows PEM encoded certificate(s) to be included in the set of root certificate authorities used when verifying server certificates (#125). - data-source/http: Added
insecure
attribute to allow disabling the verification of a server's certificate chain and host name. Defaults tofalse
(#125).