From 7ed6e87dddc002f2c409971976d526e2f4b857fc Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Fri, 1 Jul 2022 09:14:11 -0700 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7521e76a34..0dabd56ac4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,13 @@ EXPERIMENTS: * The `optional` function-like modifier for declaring an optional attribute now accepts an optional second argument for specifying a default value to use when the attribute isn't set by the caller. If not specified, the default value is a null value of the appropriate type as before. * The built-in `defaults` function, previously used to meet the use-case of replacing null values with default values, will not graduate to stable and has been removed. Use the second argument of `optional` inline in your type constraint to declare default values instead. - If you have any experimental modules that were participating in this experiment, you will need to remove the experiment opt-in and adopt the new syntax for declaring default values in order to migrate your existing module to the stablized version of this feature. + If you have any experimental modules that were participating in this experiment, you will need to remove the experiment opt-in and adopt the new syntax for declaring default values in order to migrate your existing module to the stablized version of this feature. If you are writing a shared module for others to use, we recommend declaring that your module requires Terraform v1.3.0 or later to give specific feedback when using the new feature on older Terraform versions, in place of the previous declaration to use the experimental form of this feature: + + ```hcl + terraform { + required_version = ">= 1.3.0" + } + ``` ## Previous Releases