github Mastercard/terraform-provider-restapi v1.3.0

latest releases: v2.0.1, v2.0.0, v1.20.0...
7 years ago

New

  • Add ability to set id_attribute per-resource and per-datasource as an override to provider config. Thanks @rberlind for the idea!
  • Make id_attribute aware of how to find a value multiple levels deep in the results rather than as a top-level value only. Example: with the data { "attrs": { "id": 1234 }, "config": { "foo": "abc", "bar": "xyz"} }, you can now get the id of 1234 by setting id_attribute to attrs/id. Thanks @rberlind for the idea!
  • Added some handy internal functions to make working with complex data types safer and easier.

Fixes

  • Do not fail with mysterious Go panics if type assertions fail during datasource lookup

Don't miss a new terraform-provider-restapi release

NewReleases is sending notifications on new releases.