Releases: magodo/terraform-provider-restful
Releases · magodo/terraform-provider-restful
v0.14.0
0.14.0 (May 22, 2024)
BREAKING CHANGES
restful_resource
- Change the type ofbody
,output
from string to dynamic (#87)restful_resource
-Read
invoked fromCreate
/Update
now won't update thebody
(but still update theoutput
). This makes those round trip inconsistent APIs won't cause error during theterraform apply
, which makes the resource as tainted. Instead it will show the diff in the nextterraform plan
, which brings a chance for users to add thewrite_only_attrs
/ignore_changes
(#87)restful_operation
- Change the type ofbody
,delete_body
,output
from string to dynamic (#87)restful_resource
data source - Change the type ofoutput
from string to dynamic (#87)
To migrate from versions earlier than v0.14.0, users expect to do the followings:
- If the
body
(or alike) is constructed byjsonencode
function, then remove thejsonencode
call - If any reference of the
output
(or alike) is usingjsondecode
function, then remove thejsondecode
call - Do a
terraform apply
(even though no diff is detected), that terraform will migrate the state file for you
v0.13.3
v0.13.2
v0.13.1
v0.13.0
v0.12.0
0.12.0 (Dec 4, 2023)
BREAKING CHANGES
restful_resource
&restful_operation
- Removequery
forpoll_xxx
block. During polling, the actual query used is either from the polling url_locator (as the polling URL is expected to contain the complete URL, including the query needed), or inherit from the originating request if url_locator not specified. (#73)restful_resource
- Updateimport_spec
to remove some unnecessary properties, and allowbody
to be optional (#71)
ENHANCEMENTS
restful_resource
data source: Supportprecheck
(#65)restful_resource
data source: Supportsmethod
forGET
,HEAD
and (read-only)POST
(#67)restful_resource
resource & data source: Extend theoutput_attrs
to support arrays (#70)restful_resouce
(res&ds) &restful_operation
: Supportretry(_(create|read|update|delete))
(#75)restful_operation
- Supportdelete_(method|body|path)
,(precheck|poll|retry)_delete
andoutput_attrs
(#79)
BUG FIXES
v0.11.1
v0.11.0
v0.10.0
v0.9.0
0.9.0 (Feb 11, 2023)
ENHANCEMENTS:
- Provider - only initialize once (#49)
restful_resource
- Introduceoutput_attrs
to choose which attributes to export tooutput
(#46)restful_resource
- data source: New attribute allow_not_exist to suppress error on 404 status code (#50)
BUG FIXES
- Provider - Fix
security.apikey
validation issue (#48)