From 013170dd1b0ec39a76f399589c70bb9bb0e017ff Mon Sep 17 00:00:00 2001 From: Alisdair McDiarmid Date: Wed, 2 Feb 2022 15:45:14 -0500 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86538555d8..8ade630341 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## 1.2.0 (Unreleased) +NEW FEATURES: + +* `precondition` and `postcondition` check blocks for resources, data sources, and module output values: module authors can now document assumptions and assertions about configuration and state values. If these conditions are not met, Terraform will report a custom error message to the user and halt further evaluation. + ENHANCEMENTS: * The "Invalid for_each argument" error message for unknown maps/sets now includes an additional paragraph to try to help the user notice they can move apply-time values into the map _values_ instead of the map _keys_, and thus avoid the problem without resorting to `-target`. [GH-30327]