Skip to content

Releases: Mastercard/terraform-provider-restapi

v1.17.0

27 Jun 23:13

Choose a tag to compare

Changes for v1.17.0

v1.16.2

07 Apr 20:11

Choose a tag to compare

Fixed

  • Fix a bug causing crash any time the provider is configured with oauth_client_credentials. Thanks for the report in #162, @AndreasSko!

Broken

  • An apparent terraform bug was detected while triaging #162. The endpoint_params sub map of oauth_client_credentials does not work. It is unclear if this ever functioned.

v1.16.1

02 Feb 17:29

Choose a tag to compare

Misc

  • No changes made in this release. This is only a new tag intended to fix issues with publishing to the Terraform registry. Thanks, @scastria for PR#159!

v1.16.0

06 Sep 22:08

Choose a tag to compare

New

  • Exposed a property always available inside api_object to the datasource. You can now set search_path to search in one location, but pull object information from another location!
  • Added a new test_path attribute to the provider which will make a no-op call to the API after setting up the provider. Thanks, @yi2020 for the idea in #118!
  • Allow passing oauth endpoint params to the client library - thanks @larryboymi for the idea in @136

Fixed

  • A large amount of refactoring was done by @sirlatrom to make go vet and golint happier in #112 - awesome!
  • Permit attempting to obtain an Oauth2 token without scopes set since it is not required. Thanks, @Thorln for reporting the issue!
  • Improved test cases for the datasource performing searches. Thanks, @BigJerBD for the nudge in #119!
  • Add .exe to the end of Windows release files. Thanks, @dmachard for the report in #130!
  • In cases where invalid JSON was pushed to the .tf file, Terraform writes it to state - work around this. Thanks, @m-v-k for the report in #117!

Misc

  • Taught fakeserver a new trick - the /api/object_list endpoint will now dump all of the objects as if responding to search
  • Added an example for those that would like to set a custom Authorization header coming from outside of the terraform config
  • Added an example for performing regular PUT updates to a resource as a "fancy curl" - thanks @vmarlier!
  • This is the first release that should be compliant with the terraform registry expectations - big thanks to @blz-ea
  • Added a validation at terraform's input level to ensure that the data attribute is valid JSON before attempting any work

v1.15.0

28 Dec 22:56

Choose a tag to compare

New

  • Add support for OAuth authentication - thanks, @SvenHamers!
  • Mark API response fields as sensitive if desired - thanks for the report, @kmeleshko!
  • Add support for client certificate authentication - thanks for the idea, @cageyv

Other

  • Rejiggered the README format to point to the now-machine-generated terraform doco as discussed in #94

v1.14.1

29 Oct 18:52
11db1f5

Choose a tag to compare

Fixed

  • Updated an error message to make it easier to figure out how to fix the issue. Thanks, @yi2020!

v1.14.0

21 Sep 16:00

Choose a tag to compare

New

  • Add support for searching (like the datasource) during read operations. Head over to the README for more info. Thanks, @fgouteroux!

v1.13.0

15 Jun 18:39

Choose a tag to compare

New

  • Add the ability to override CRUD methods at a per-resource level - thanks @fgouteroux!
  • Converted to go mod built-in module management rather than govendor - thanks @fgouteroux!

Fixed

  • Made cookies work by fixing code typo with use_cookies vs use_cookie - thanks to @jochen42!

Other

  • Updated build toolchain for releases to latest golang version (v1.14.4)

v1.12.0

02 Mar 17:52

Choose a tag to compare

New

  • Cope with an object that was deleted server-side during state reading by unsetting state (will trigger a recreate during plan/apply). Thanks, @NamrathaG for the report!

v1.11.0

31 Jan 18:04
5331916

Choose a tag to compare

New

  • Add ability to import resources that have a trailing slash. Thanks, @RolandG!
  • Add ability to set a rate limit. Thanks, @gazoakley and @RolandG!

Fixed

  • Minor doco updates about imports