Skip to content

Commit

Permalink
fix: Allow Terraform 1.6+ after upgrading to terraform-plugin-framewo…
Browse files Browse the repository at this point in the history
…rk v1.4.1.
  • Loading branch information
skyzyx committed Oct 15, 2023
1 parent 35b7b63 commit 0ee237a
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions docs/data-sources/str_constant.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,31 @@ 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"
}
#=> V3_2_2
```

```terraform
data "corefunc_str_snake" "test_from_camel" {
data "corefunc_str_constant" "test_from_camel" {
string = "TestFromCamel"
}
#=> TEST_FROM_CAMEL
```

```terraform
data "corefunc_str_snake" "test_with_number" {
data "corefunc_str_constant" "test_with_number" {
string = "test with number -123.456"
}
#=> TEST_WITH_NUMBER_123_456
```

```terraform
data "corefunc_str_snake" "this_is_an_example" {
data "corefunc_str_constant" "this_is_an_example" {
string = "This is [an] {example}$${id32}."
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/corefunc_env_ensure/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.1, < 1.6"
required_version = "~> 1.1"

required_providers {
corefunc = {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/corefunc_str_camel/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.1, < 1.6"
required_version = "~> 1.1"

required_providers {
corefunc = {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/corefunc_str_constant/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.1, < 1.6"
required_version = "~> 1.1"

required_providers {
corefunc = {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/corefunc_str_kebab/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.1, < 1.6"
required_version = "~> 1.1"

required_providers {
corefunc = {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/corefunc_str_pascal/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.1, < 1.6"
required_version = "~> 1.1"

required_providers {
corefunc = {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/corefunc_str_snake/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.1, < 1.6"
required_version = "~> 1.1"

required_providers {
corefunc = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.1, < 1.6"
required_version = "~> 1.1"

required_providers {
corefunc = {
Expand Down
2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.1, < 1.6"
required_version = "~> 1.1"

required_providers {
corefunc = {
Expand Down

0 comments on commit 0ee237a

Please sign in to comment.