Skip to content

Releases: Mastercard/terraform-provider-restapi

v1.15.0

28 Dec 22:56
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v1.10.0

07 Nov 17:01
351c5f4
Compare
Choose a tag to compare

New

  • Add a new exported field api_response containing the raw API response string. See README for more info. Thanks, @gazoakley!

Fixed

  • Fix running in alpine docker images by disabling CGO (not used by this provider). Thanks, @duanshiqiang!
  • Enable use of provider via HTTP proxy. Thanks, @DanielRis and @vrvenky1407!

v1.9.3

24 Jul 19:52
Compare
Choose a tag to compare

New

  • Add support for setting CRUD methods via ENV variable.
  • Coax numbers (the JSON type) coming back from the API server into decimal notation avoiding scientific notation. Fixes issue #51 - Thanks, @enummela!
  • Make the number coaxing to strings more generic to fix the same problem with api_data having scientific notation. Related to issue #48 - Thanks, @cnguyenp!

Fixed

  • Documented a few missing attributes and added ENV variable overrides to README.md

v1.9.2

05 Jul 20:46
Compare
Choose a tag to compare

Fixed

  • Investigating issue #34, an odd golang idiom was found that caused errors to get swallowed when refreshing state. This can cause the state file to get wiped out! The bug has been squashed. Thanks, @mlosapio and @robstonham-pa!
  • Removed some junk code for handling redirects. This was never in use because golang handles them for us!

v1.9.1

05 Jul 18:53
1c42d15
Compare
Choose a tag to compare

Fixed

  • In v1.9.0, adding support for setting the HTTP method per CRUD operation introduced a bug. If update_method was not set, create_method was accidentally set to PUT. This was fixed by @kody-abe. Thanks!