Skip to content

Commit 941a91f

Browse files
srlynch1rainkwan
authored andcommitted
Add follow_redirects option to HTTP data source configuration
1 parent 2caff35 commit 941a91f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/data-sources/http.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ resource "null_resource" "example" {
151151
- `ca_cert_pem` (String) Certificate Authority (CA) in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format.
152152
- `client_cert_pem` (String) Client certificate in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format.
153153
- `client_key_pem` (String) Client key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format.
154+
- `follow_redirects` (Boolean) If false, do not follow HTTP redirects. Defaults to true.
154155
- `insecure` (Boolean) Disables verification of the server's certificate chain and hostname. Defaults to `false`
155156
- `method` (String) The HTTP Method for the request. Allowed methods are a subset of methods defined in [RFC7231](https://datatracker.ietf.org/doc/html/rfc7231#section-4.3) namely, `GET`, `HEAD`, and `POST`. `POST` support is only intended for read-only URLs, such as submitting a search.
156157
- `request_body` (String) The request body as a string.

0 commit comments

Comments
 (0)