NOTES:
- all: This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. (#452)
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)
BUG FIXES:
- data-source/http: Avoid potentially leaking URL-embedded basic authentication credentials in logs and error messages (#429)
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)
BUG FIXES:
- data-source/http: Includes update to go-retryablehttp fixing preservation of request body on temporary redirects or re-established HTTP/2 connections (#346)
ENHANCEMENTS:
- data-source/http:
response_body_base64
has been added and contains a standard base64 encoding of the response body (#158) - data-source/http: Replaced issuing warning on the basis of possible non-text
Content-Type
with issuing warning if response body does not contain valid UTF-8. (#158)
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:
- data-source/http: Added
retry
with nestedattempts
,max_delay_ms
andmin_delay_ms
(#151) - data-source/http: Added
request_timeout_ms
(#151)
BUG FIXES
- data-source/http: Using DefaultTransport to reinstate previous behavior (e.g., ProxyFromEnvironment) (#198).
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).
ENHANCEMENTS:
- data-source/http: Allow optionally specifying HTTP request method and body (#21).
BUG FIXES
- data-source/http: Reinstated previously deprecated and removed
body
attribute (#166).
NOTES:
- Provider has been re-written using the new
terraform-plugin-framework
(#177).
BREAKING CHANGES:
- data-source/http: Response status code is not checked anymore. A new read-only attribute,
status_code
, has been added. It can be used either with precondition and postcondition checks (Terraform >= 1.2.0), or, for instance, with local-exec Provisioner (114). - data-source/http: Deprecated
body
has been removed (#137).
ENHANCEMENTS:
- data-source/http:
body
is now deprecated and has been superseded byresponse_body
.body
will be removed in the next major release (#137).
NOTES:
- "Uplift" aligned with Utility Providers Upgrade (#135).
Binary releases of this provider now include the darwin-arm64 platform. This version contains no further changes.
Binary releases of this provider now include the linux-arm64 platform.
BREAKING CHANGES:
- Upgrade to version 2 of the Terraform Plugin SDK, which drops support for Terraform 0.11. This provider will continue to work as expected for users of Terraform 0.11, which will not download the new version. (#47)
IMPROVEMENTS:
- Relaxed error on non-text
Content-Type
headers to be a warning instead (#50)
BUG FIXES:
- Modified some of the documentation to work a bit better in the registry (#42)
- Allowed the
us-ascii
charset in addition toutf-8
(#43)
IMPROVEMENTS:
BUG FIXES:
- Fix request error message to include the
err
and not just url (#26)
- This release includes an upgrade to the Terraform SDK, in an effort to help align with what other providers are releasing with, as we lead up to Core v0.12. It should have no noticeable impact on the provider.
IMPROVEMENTS:
- The provider is now compatible with Terraform v0.12, while retaining compatibility with prior versions.
- Allow
charset
argument onContent-Type
(#5)
- add content type for ADFS FederationMetadata.xml (#4)
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout