hashicorp/terraform
### [`v0.15.2`](https://togithub.com/hashicorp/terraform/releases/v0.15.2)
[Compare Source](https://togithub.com/hashicorp/terraform/compare/v0.15.1...v0.15.2)
#### 0.15.2 (May 05, 2021)
ENHANCEMENTS:
- `terraform plan` and `terraform 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 "replace" (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 `-destroy` option for symmetry with `terraform plan -destroy`, which makes `terraform destroy` effectively an alias for `terraform apply -destroy`. This change is only for consistency between `terraform plan` and `terraform apply`; there are no current plans to deprecate `terraform destroy`. ([#28489](https://togithub.com/hashicorp/terraform/issues/28489))
- core: Update HCL to allow better planning of dynamic blocks ([#28424](https://togithub.com/hashicorp/terraform/issues/28424))
- core: Unmark values when planning data sources ([#28539](https://togithub.com/hashicorp/terraform/issues/28539))
BUG FIXES:
- command/format: Fix various issues with nested-type attribute formatting ([#28600](https://togithub.com/hashicorp/terraform/issues/28600))
- core: Fix JSON plan output to add sensitivity data for provider-specified sensitive attribute values ([#28523](https://togithub.com/hashicorp/terraform/issues/28523))
- cli: Fix missing "forces replacement" UI for attribute changes which are marked as sensitive by the provider ([#28583](https://togithub.com/hashicorp/terraform/issues/28583))
- cli: Fix crash when rendering diagnostic caused by missing trailing quote ([#28598](https://togithub.com/hashicorp/terraform/issues/28598))
- functions: Fix crash when calling `setproduct` with one or more empty collections ([#28607](https://togithub.com/hashicorp/terraform/issues/28607))
Configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
0.15.1
->0.15.2
Release Notes
hashicorp/terraform
### [`v0.15.2`](https://togithub.com/hashicorp/terraform/releases/v0.15.2) [Compare Source](https://togithub.com/hashicorp/terraform/compare/v0.15.1...v0.15.2) #### 0.15.2 (May 05, 2021) ENHANCEMENTS: - `terraform plan` and `terraform 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 "replace" (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 `-destroy` option for symmetry with `terraform plan -destroy`, which makes `terraform destroy` effectively an alias for `terraform apply -destroy`. This change is only for consistency between `terraform plan` and `terraform apply`; there are no current plans to deprecate `terraform destroy`. ([#28489](https://togithub.com/hashicorp/terraform/issues/28489)) - core: Update HCL to allow better planning of dynamic blocks ([#28424](https://togithub.com/hashicorp/terraform/issues/28424)) - core: Unmark values when planning data sources ([#28539](https://togithub.com/hashicorp/terraform/issues/28539)) BUG FIXES: - command/format: Fix various issues with nested-type attribute formatting ([#28600](https://togithub.com/hashicorp/terraform/issues/28600)) - core: Fix JSON plan output to add sensitivity data for provider-specified sensitive attribute values ([#28523](https://togithub.com/hashicorp/terraform/issues/28523)) - cli: Fix missing "forces replacement" UI for attribute changes which are marked as sensitive by the provider ([#28583](https://togithub.com/hashicorp/terraform/issues/28583)) - cli: Fix crash when rendering diagnostic caused by missing trailing quote ([#28598](https://togithub.com/hashicorp/terraform/issues/28598)) - functions: Fix crash when calling `setproduct` with one or more empty collections ([#28607](https://togithub.com/hashicorp/terraform/issues/28607))Configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.