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