| page_title | terracurl_request Data Source - terracurl |
|---|---|
| subcategory | |
| description | TerraCurl request data source |
TerraCurl request data source
method(String) HTTP method to use in the API callname(String) Friendly name for this API callresponse_codes(List of String) A list of expected response codesurl(String) Api endpoint to call
ca_cert_directory(String) Path to a directory on local disk that contains one or more certificate files that will be used to validate the certificate presented by the serverca_cert_file(String) Path to a file on local disk that will be used to validate the certificate presented by the servercert_file(String) Path to a file on local disk that contains the PEM-encoded certificate to present to the serverdigest_auth(Attributes, Sensitive) HTTP Digest authentication credentials for the request. Overrides providerdefault_digest_authwhen configured. (see below for nested schema)headers(Map of String) Map of headers to attach to the API call. Host (case-insensitive) overrides the HTTP Host header sent on the wire, independent of the URL hostname.key_file(String) Path to a file on local disk that contains the PEM-encoded private key for which the authentication certificate was issuedmax_retry(Number) Maximum number of tries until it is marked as failedrequest_body(String) A request body to attach to the API callrequest_body_file(String) Path to a file on local disk to use as the request body. File bytes are read at request time and are not stored in Terraform state.request_multipart(Attributes) Multipart form request body. The provider setsContent-Typewith a generated boundary. (see below for nested schema)request_parameters(Map of String) Map of parameters to attach to the API callresponse_sensitive(Boolean) Set totrueto treat the response as sensitive. When enabled, the response body is written tosensitive_response(a sensitive attribute) andresponseis left empty so that secret values are not displayed in plan output. Defaults tofalseto preserve existing behavior.retry_interval(Number) Interval between each attemptskip_tls_verify(Boolean) Set this to true to disable verification of the server's TLS certificatetimeout(Number) Time in seconds before each request times out. Defaults to 10
id(String) Example identifierrequest_url_string(String) Request URL includes parameters if request specifiedresponse(String) JSON response received from request. Empty whenresponse_sensitiveistrue; usesensitive_responseinstead.sensitive_response(String, Sensitive) JSON response received from request, marked as sensitive so it is not displayed in plan output. Populated only whenresponse_sensitiveistrue.status_code(String) Response status code received from request
Required:
password(String, Sensitive) Password for HTTP Digest authentication.username(String, Sensitive) Username for HTTP Digest authentication.
Required:
parts(Attributes List) Multipart form parts. (see below for nested schema)
Required:
name(String) Form field name.
Optional:
content_type(String) Optional Content-Type for this part. Defaults totext/plainfor value parts andapplication/octet-streamfor file parts.file_path(String) Path to a file on local disk for this form field.value(String) Text form field value.