Skip to content

Latest commit

 

History

History
107 lines (58 loc) · 3.68 KB

File metadata and controls

107 lines (58 loc) · 3.68 KB

2.10.0

ENHANCEMENTS:

  • Add request_body_file and request_multipart request body support across terracurl_request resources, data sources, actions, and ephemeral resources. File bytes are read at request time and are not stored in Terraform state. Multipart bodies set Content-Type with a generated boundary. Closes #43 and #84.

2.9.0

ENHANCEMENTS:

  • Add delete-time {response.<path>} templating in terracurl_request destroy URL, body, headers, and query parameters, resolved from the stored create response. Includes create-time validation and supports nested JSON paths. Closes #125.

2.8.0

ENHANCEMENTS:

  • Add write-only headers and request bodies on terracurl_request resources with _wo_version companions and private-state snapshots for read/destroy. Requires Terraform 1.11+. Closes #115, #116.

2.7.0

ENHANCEMENTS:

  • Add HTTP Digest authentication with provider default_digest_auth and per-operation overrides on resources, data sources, actions, and ephemeral resources. Closes #58.

2.6.0

ENHANCEMENTS:

  • Add provider default_headers for auth tokens that must be refreshed on each Terraform run, including destroy. Closes #83.

2.5.4

BUG FIXES:

  • Fix skip_tls_verify being ignored unless cert-related attributes were also set, restoring v1.x behavior for self-signed certificates. Closes #128.

2.5.3

BUG FIXES:

  • Fix panic upgrading terracurl_request state from provider v1.x when UpgradeResourceState receives nil prior state. Closes #134.

2.5.2

BUG FIXES:

  • Fix drift detection not triggering Terraform plan changes: remote response drift now forces resource replacement via ModifyPlan instead of relying on computed drift_marker updates during Read(). Closes #133.
  • Preserve stored response / sensitive_response in state when drift is detected during Read() until replacement completes.

2.5.1

BUG FIXES:

  • Honor read_response_codes during Read drift detection so unexpected read HTTP status codes are treated as drift.
  • Avoid false post-creation drift when the prior sanitized response is null.
  • Refactor responseCodeChecker for simpler call sites across resource, action, and tests. Based on #149 by @JackSlateur.

ENHANCEMENTS:

  • Bump hashicorp/setup-terraform GitHub Action from v4.0.0 to v4.0.1. Supersedes Dependabot PR #147.
  • Bump golang.org/x/net from v0.53.0 to v0.57.0. Supersedes Dependabot PR #156.

2.5.0

FEATURES:

  • Add optional response_sensitive and sensitive response attributes to terracurl_request resource, data source, and ephemeral resource to prevent secret values appearing in plan output. Based on #144 by @ohaibbq. Closes #142.

2.4.2

BUG FIXES:

  • Fix false drift when Create() stored unsanitized HTTP responses while Read() used sanitized JSON (fixes Create/Read mismatch for response and ignore_response_fields). Based on #141 by @rrrix.

2.4.1

ENHANCEMENTS:

  • Upgrade HashiCorp plugin dependencies: terraform-plugin-framework v1.19.0, terraform-plugin-go v0.31.0, terraform-plugin-testing v1.16.0
  • Supersedes Dependabot PRs #138, #139, and #140

2.4.0

FEATURES:

  • Add terracurl_request action support for on-demand HTTP requests via terraform apply -invoke (Terraform 1.14+). Based on #127 by @jen20.

2.3.1

BUG FIXES:

  • Fix Host header override when Host is set in request header maps (fixes #79). Based on #97 by @JoshBlades.

2.3.0

FEATURES:

  • Add HTTP and HTTPS proxy support via environment variables and provider attributes (http_proxy, https_proxy, no_proxy)
  • Proxy support applies to TLS/mTLS requests as well as plain HTTP requests
  • Add HTTP Proxy Support guide, examples, and tests

2.2.0

FEATURES:

  • Bug fixes with state upgrade
  • Documentation updates