Skip to content

Update Terraform restapi to v3#3778

Open
govuk-ci wants to merge 1 commit intomainfrom
renovate/restapi-3.x
Open

Update Terraform restapi to v3#3778
govuk-ci wants to merge 1 commit intomainfrom
renovate/restapi-3.x

Conversation

@govuk-ci
Copy link
Contributor

@govuk-ci govuk-ci commented Feb 27, 2026

This PR contains the following updates:

Package Type Update Change
restapi (source) required_provider major ~> 2.0.1~> 3.0.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

Mastercard/terraform-provider-restapi (restapi)

v3.0.0

Compare Source

This is a huge release driven by the "simple" need to migrate the provider from TFSDK to Terraform Plugin Framework. Because the provider is already several years old, this represented an opportunity to improve how it works in accordance with refactoring required for TPF.

Great care was taken to avoid breaking changes, but please be mindful that this was an extensive set of changes!

Changes
  • Logging was revamped to use the terraform logging library across the board, so the level configured there will be the level used as the provider does it's work. The existing debug parameter on the provider and objects will now only affect whether or not the client spits out the HTTP request and response to STDERR as it works. This is separate and independent from the Terraform log stream and log level.
  • Moved to the latest terraform plugin framework. This should eliminate warnings (thanks for the report in #​337, @​twcchu) while also not affecting behaviors
  • The default timeout for the HTTP client has been set to 30 seconds instead of "infinite"
  • The provider now validates the URI provided is a parseable URI
  • The provider now marks the password field as sensitive. Thanks for the callout in #​300, Dr-J-Watson!
Fixes
  • Fixed some cases where some fields were not logged and clarify the request/response body in HTTP output. Thanks for the PR in #​316, @​rforen!
  • Send empty JSON document (just {}) when configured for (read|search|destroy_data) attributes
  • Correctly interpolate and append {id} in paths which include query strings. Thanks for the PR in #​339, @​pregress!
  • Raise parameter errors when read_search's search key and value are not specified. Thanks for the report in #​332, @​toadjuane!
  • Correctly inherit/append query string with read_search when the object has a query_string specified. Thanks for the heads up in #​332, @​zepeng811!
New
  • In addition to username/password, added a new bearer_token parameter to the provider in #​301 - thanks, @​Dr-J-Watson!
  • The provider now supports retries! To enable retry on failures (connection/TLS/etc errors or a 500-range response except 501), set max_attempts greater than 1 in retries. Thanks for the idea in #​315, @​barrack1234!
  • Support {id} interpolation in read_search.search_value during read operations. Thanks for the idea in @​333, @​toadjaune and the contribution in #​295, @​orgads!
  • Support a user-provided JSON patch to be applied during read_search operations in case the API provides a response asymmetric to what was submitted. Thanks for the idea in #​295, @​orgads!
  • Add support for ignore_server_additions which will watch for server changes only to fields present in data. Thanks for the PR in #​336, @​jor2!
  • Perform lazy client initialization to support planning when the URL for the provider isn't known yet. Thanks for the idea in #​291, @​A7exSchin
  • Add results_contains_object to the data source to avoid a second read operation to the API. Thanks for the idea in #​310, @​cybrhwk!
Misc
  • Obtain a clean HTTP client from terraform rather than the Go runtime. This avoids other providers possibly polluting the default client from affecting us.
  • Along with revamping logging, the file name from which the log entry came is no longer logged.

  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@govuk-ci govuk-ci requested a review from a team as a code owner February 27, 2026 22:01
@govuk-ci govuk-ci added dependencies Pull requests that update a dependency file renovate labels Feb 27, 2026
@govuk-ci govuk-ci force-pushed the renovate/restapi-3.x branch 19 times, most recently from 84f0ae9 to 3d1a818 Compare March 9, 2026 14:02
@govuk-ci govuk-ci force-pushed the renovate/restapi-3.x branch from 3d1a818 to 4d90948 Compare March 9, 2026 17:02
@govuk-ci govuk-ci changed the title chore(deps): update terraform restapi to v3 Update Terraform restapi to v3 Mar 9, 2026
@govuk-ci govuk-ci force-pushed the renovate/restapi-3.x branch 6 times, most recently from 882a511 to d3a4eba Compare March 10, 2026 15:02
@govuk-ci govuk-ci force-pushed the renovate/restapi-3.x branch 3 times, most recently from b4bfb02 to 4194243 Compare March 11, 2026 11:02
@govuk-ci govuk-ci changed the title Update Terraform restapi to v3 chore(deps): update terraform restapi to v3 Mar 11, 2026
@govuk-ci govuk-ci force-pushed the renovate/restapi-3.x branch 9 times, most recently from 57d3b59 to 05295ef Compare March 12, 2026 15:01
@govuk-ci govuk-ci changed the title chore(deps): update terraform restapi to v3 Update Terraform restapi to v3 Mar 12, 2026
@govuk-ci govuk-ci force-pushed the renovate/restapi-3.x branch 5 times, most recently from ac20e35 to aca944b Compare March 16, 2026 15:02
@govuk-ci govuk-ci force-pushed the renovate/restapi-3.x branch from aca944b to 0571d50 Compare March 16, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant