Releases: Mastercard/terraform-provider-restapi
Releases · Mastercard/terraform-provider-restapi
v1.17.0
Changes for v1.17.0
v1.16.2
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_paramssub map ofoauth_client_credentialsdoes not work. It is unclear if this ever functioned.
v1.16.1
v1.16.0
New
- Exposed a property always available inside
api_objectto the datasource. You can now setsearch_pathto search in one location, but pull object information from another location! - Added a new
test_pathattribute 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 vetandgolinthappier 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_listendpoint 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
dataattribute is valid JSON before attempting any work
v1.15.0
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
v1.14.0
New
- Add support for searching (like the datasource) during read operations. Head over to the README for more info. Thanks, @fgouteroux!
v1.13.0
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_cookiesvsuse_cookie- thanks to @jochen42!
Other
- Updated build toolchain for releases to latest golang version (v1.14.4)
v1.12.0
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!