From c90b33780c37cd77eea1a9a1714d0f7c059ec179 Mon Sep 17 00:00:00 2001 From: Arnaud Venturi Date: Fri, 25 Oct 2019 09:14:01 +0000 Subject: [PATCH] Increase minimum terraform version to include yamlencode (#570) * Increase minimum terraform version to include yamlencode https://github.com/hashicorp/terraform/blob/master/CHANGELOG.md#0122-june-12-2019 * Update Changelog --- CHANGELOG.md | 1 + examples/launch_templates/main.tf | 2 +- examples/spot_instances/main.tf | 2 +- versions.tf | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 046e855..4111f0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ project adheres to [Semantic Versioning](http://semver.org/). - **Breaking:** The `kubectl` configuration file can now be fully-specified using `config_output_path`. Previously it was assumed that `config_output_path` referred to a directory and always ended with a forward slash. This is a breaking change if `config_output_path` does **not** end with a forward slash (which was advised against by the documentation). - Changed logic for setting default ebs_optimized to only require maintaining a list of instance types that don't support it (by @jeffmhastings) +- Bumped minimum terraform version to 0.12.2 to prevent an error on yamlencode function (by @toadjaune) # History diff --git a/examples/launch_templates/main.tf b/examples/launch_templates/main.tf index 008a4f3..da2589e 100644 --- a/examples/launch_templates/main.tf +++ b/examples/launch_templates/main.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.0" + required_version = ">= 0.12.2" } provider "aws" { diff --git a/examples/spot_instances/main.tf b/examples/spot_instances/main.tf index 741531d..6c5cb47 100644 --- a/examples/spot_instances/main.tf +++ b/examples/spot_instances/main.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.0" + required_version = ">= 0.12.2" } provider "aws" { diff --git a/versions.tf b/versions.tf index f6be617..0a6046e 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12" + required_version = ">= 0.12.2" required_providers { aws = ">= 2.31.0"