FEATURES:
- Add mTLS support (client cert & key) to http datasource (#211)
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
Hostheaders specified in therequest_headersattribute when setting the HTTP request. Any specifiedHostrequest 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
Hostheader inrequest_headersto 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_bodyattribute 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_base64has 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-Typewith 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
retrywith nestedattempts,max_delay_msandmin_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_pemattribute 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
insecureattribute 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
bodyattribute (#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
bodyhas been removed (#137).
ENHANCEMENTS:
- data-source/http:
bodyis now deprecated and has been superseded byresponse_body.bodywill 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-Typeheaders 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-asciicharset in addition toutf-8(#43)
IMPROVEMENTS:
BUG FIXES:
- Fix request error message to include the
errand 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
charsetargument 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