| page_title | terracurl_request Resource - terracurl |
|---|---|
| subcategory | |
| description | TerraCurl request resource |
TerraCurl request resource
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 serverdestroy_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 server for the destroy calldestroy_ca_cert_file(String) Path to a file on local disk that will be used to validate the certificate presented by the server for the destroy calldestroy_cert_file(String) Path to a file on local disk that contains the PEM-encoded certificate to present to the server for the destroy calldestroy_headers(Map of String) Map of headers to attach to the destroy API call. Host (case-insensitive) overrides the HTTP Host header sent on the wire, independent of the URL hostname.destroy_key_file(String) Path to a file on local disk that contains the PEM-encoded private key for which the authentication certificate was issued for the destroy calldestroy_max_retry(Number) Maximum number of tries until it is marked as failed for the destroy calldestroy_method(String) Destroy HTTP method to use in the API calldestroy_request_body(String) A request body to attach to the destroy API calldestroy_request_parameters(Map of String) Map of parameters to attach to the destroy API calldestroy_response_codes(List of String) A list of expected response codes for the destroy calldestroy_retry_interval(Number) Interval between each attempt for the destroy calldestroy_skip_tls_verify(Boolean) Set this to true to disable verification of the server's TLS certificate for the destroy calldestroy_timeout(Number) Time in seconds before each request times out for the destroy call. Defaults to 10destroy_url(String) Destroy API endpoint to callheaders(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.ignore_response_fields(List of String) List of JSON fields to ignore during drift detection.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 failedread_ca_cert_directory(String) Path to a PEM-encoded CA certificate for the read request (TLS).read_ca_cert_file(String) Path to a PEM-encoded CA certificate for the read request (TLS).read_cert_file(String) Path to a PEM-encoded certificate for the read request (TLS).read_headers(Map of String) Map of headers for the read request. Host (case-insensitive) overrides the HTTP Host header sent on the wire, independent of the URL hostname.read_key_file(String) Path to a PEM-encoded private key for the read request (TLS).read_method(String) HTTP method for reading resource state. Required ifskip_readis false.read_parameters(Map of String) Optional request parameters to add to the URLread_request_body(String) Optional request body to use for the read request.read_response_codes(List of String) Expected response codes for the read request. Required ifskip_readis false.read_skip_tls_verify(Boolean) Skip TLS verification for the read request.read_url(String) API endpoint for reading resource state. Required ifskip_readis false.request_body(String) A request body to attach to the API callrequest_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_destroy(Boolean) Set this to true to skip issuing a request when the resource is being destroyedskip_read(Boolean) Set to true to skip the read operation (no drift detection). Defaults to true.skip_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
destroy_request_url_string(String) Destroy request URL includes parameters if request specifieddrift_marker(String) Marker to track state drift and trigger resource replacementid(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