From 0ee237a94781673e3c34372048f55f5b8209c565 Mon Sep 17 00:00:00 2001 From: Ryan Parman Date: Sun, 15 Oct 2023 02:07:51 -0600 Subject: [PATCH] fix: Allow Terraform 1.6+ after upgrading to terraform-plugin-framework v1.4.1. --- docs/data-sources/str_constant.md | 8 ++++---- docs/index.md | 2 +- examples/data-sources/corefunc_env_ensure/versions.tf | 2 +- examples/data-sources/corefunc_str_camel/versions.tf | 2 +- examples/data-sources/corefunc_str_constant/versions.tf | 2 +- examples/data-sources/corefunc_str_kebab/versions.tf | 2 +- examples/data-sources/corefunc_str_pascal/versions.tf | 2 +- examples/data-sources/corefunc_str_snake/versions.tf | 2 +- .../data-sources/corefunc_str_truncate_label/versions.tf | 2 +- examples/provider/provider.tf | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/data-sources/str_constant.md b/docs/data-sources/str_constant.md index 89f0f95d..77f07c67 100644 --- a/docs/data-sources/str_constant.md +++ b/docs/data-sources/str_constant.md @@ -21,7 +21,7 @@ Go method, which can be used in [Terratest](https://terratest.gruntwork.io). ## Example Usage ```terraform -data "corefunc_str_snake" "v322" { +data "corefunc_str_constant" "v322" { string = "v3.2.2" } @@ -29,7 +29,7 @@ data "corefunc_str_snake" "v322" { ``` ```terraform -data "corefunc_str_snake" "test_from_camel" { +data "corefunc_str_constant" "test_from_camel" { string = "TestFromCamel" } @@ -37,7 +37,7 @@ data "corefunc_str_snake" "test_from_camel" { ``` ```terraform -data "corefunc_str_snake" "test_with_number" { +data "corefunc_str_constant" "test_with_number" { string = "test with number -123.456" } @@ -45,7 +45,7 @@ data "corefunc_str_snake" "test_with_number" { ``` ```terraform -data "corefunc_str_snake" "this_is_an_example" { +data "corefunc_str_constant" "this_is_an_example" { string = "This is [an] {example}$${id32}." } diff --git a/docs/index.md b/docs/index.md index 9a6f9734..50239a33 100644 --- a/docs/index.md +++ b/docs/index.md @@ -53,7 +53,7 @@ pre-built functions in the form of _Data Sources_. ```terraform terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = { diff --git a/examples/data-sources/corefunc_env_ensure/versions.tf b/examples/data-sources/corefunc_env_ensure/versions.tf index 90ced86e..3c3fdda8 100644 --- a/examples/data-sources/corefunc_env_ensure/versions.tf +++ b/examples/data-sources/corefunc_env_ensure/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = { diff --git a/examples/data-sources/corefunc_str_camel/versions.tf b/examples/data-sources/corefunc_str_camel/versions.tf index 90ced86e..3c3fdda8 100644 --- a/examples/data-sources/corefunc_str_camel/versions.tf +++ b/examples/data-sources/corefunc_str_camel/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = { diff --git a/examples/data-sources/corefunc_str_constant/versions.tf b/examples/data-sources/corefunc_str_constant/versions.tf index 90ced86e..3c3fdda8 100644 --- a/examples/data-sources/corefunc_str_constant/versions.tf +++ b/examples/data-sources/corefunc_str_constant/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = { diff --git a/examples/data-sources/corefunc_str_kebab/versions.tf b/examples/data-sources/corefunc_str_kebab/versions.tf index 90ced86e..3c3fdda8 100644 --- a/examples/data-sources/corefunc_str_kebab/versions.tf +++ b/examples/data-sources/corefunc_str_kebab/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = { diff --git a/examples/data-sources/corefunc_str_pascal/versions.tf b/examples/data-sources/corefunc_str_pascal/versions.tf index 90ced86e..3c3fdda8 100644 --- a/examples/data-sources/corefunc_str_pascal/versions.tf +++ b/examples/data-sources/corefunc_str_pascal/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = { diff --git a/examples/data-sources/corefunc_str_snake/versions.tf b/examples/data-sources/corefunc_str_snake/versions.tf index 90ced86e..3c3fdda8 100644 --- a/examples/data-sources/corefunc_str_snake/versions.tf +++ b/examples/data-sources/corefunc_str_snake/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = { diff --git a/examples/data-sources/corefunc_str_truncate_label/versions.tf b/examples/data-sources/corefunc_str_truncate_label/versions.tf index 90ced86e..3c3fdda8 100644 --- a/examples/data-sources/corefunc_str_truncate_label/versions.tf +++ b/examples/data-sources/corefunc_str_truncate_label/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = { diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 90ced86e..3c3fdda8 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 1.1, < 1.6" + required_version = "~> 1.1" required_providers { corefunc = {