Release v0.15.2¶
0.15.2 (May 05, 2021)¶
ENHANCEMENTS:
terraform planandterraform apply: Both now support a new planning option-replace=...which takes the address of a resource instance already tracked in the state and forces Terraform to upgrade either an update or no-op plan for that instance into a eplace\ (either destroy-then-create or create-then-destroy depending on configuration), to allow replacing a degraded object with a new object of the same configuration in a single action and preview the effect of that before applying it.terraform apply: Now has a-destroyoption for symmetry withterraform plan -destroy, which makesterraform destroyeffectively an alias forterraform apply -destroy. This change is only for consistency betweenterraform planandterraform apply; there are no current plans to deprecateterraform destroy. (#28489)core: Update HCL to allow better planning of dynamic blocks (#28424)
core: Unmark values when planning data sources (#28539)
BUG FIXES:
command/format: Fix various issues with nested-type attribute formatting (#28600)
core: Fix JSON plan output to add sensitivity data for provider-specified sensitive attribute values (#28523)
cli: Fix missing \forces replacement\ UI for attribute changes which are marked as sensitive by the provider (#28583)
cli: Fix crash when rendering diagnostic caused by missing trailing quote (#28598)
functions: Fix crash when calling
setproductwith one or more empty collections (#28607)