Skip to content

v0.14.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 May 02:57
· 3 commits to main since this release
773524f

0.14.0 (May 22, 2024)

BREAKING CHANGES

  • restful_resource - Change the type of body, output from string to dynamic (#87)
  • restful_resource - Read invoked from Create/Update now won't update the body (but still update the output). This makes those round trip inconsistent APIs won't cause error during the terraform apply, which makes the resource as tainted. Instead it will show the diff in the next terraform plan, which brings a chance for users to add the write_only_attrs/ignore_changes (#87)
  • restful_operation - Change the type of body, delete_body, output from string to dynamic (#87)
  • restful_resource data source - Change the type of output from string to dynamic (#87)

To migrate from versions earlier than v0.14.0, users expect to do the followings:

  1. If the body (or alike) is constructed by jsonencode function, then remove the jsonencode call
  2. If any reference of the output (or alike) is using jsondecode function, then remove the jsondecode call
  3. Do a terraform apply (even though no diff is detected), that terraform will migrate the state file for you