Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Update to Terraform 0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
brikis98 committed May 21, 2021
1 parent 69ec67c commit f46c8bd
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defaults: &defaults
docker:
- image: 087285199408.dkr.ecr.us-east-1.amazonaws.com/circle-ci-test-image-base:go1.16-go111module
- image: 087285199408.dkr.ecr.us-east-1.amazonaws.com/circle-ci-test-image-base:go1.16-tf15.1-tg29.0
version: 2
jobs:
test:
Expand Down
4 changes: 2 additions & 2 deletions examples/example-with-custom-asg-role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER
# ----------------------------------------------------------------------------------------------------------------------
terraform {
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
# This module is now only being tested with Terraform 0.15.x. However, to make upgrading easier, we are setting
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
# forwards compatible with 0.14.x code.
# forwards compatible with 0.15.x code.
required_version = ">= 0.12.26"
}

Expand Down
4 changes: 2 additions & 2 deletions examples/example-with-encryption/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER
# ----------------------------------------------------------------------------------------------------------------------
terraform {
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
# This module is now only being tested with Terraform 0.15.x. However, to make upgrading easier, we are setting
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
# forwards compatible with 0.14.x code.
# forwards compatible with 0.15.x code.
required_version = ">= 0.12.26"
}

Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER
# ----------------------------------------------------------------------------------------------------------------------
terraform {
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
# This module is now only being tested with Terraform 0.15.x. However, to make upgrading easier, we are setting
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
# forwards compatible with 0.14.x code.
# forwards compatible with 0.15.x code.
required_version = ">= 0.12.26"
}

Expand Down
4 changes: 2 additions & 2 deletions modules/consul-client-security-group-rules/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# ---------------------------------------------------------------------------------------------------------------------

terraform {
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
# This module is now only being tested with Terraform 0.15.x. However, to make upgrading easier, we are setting
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
# forwards compatible with 0.14.x code.
# forwards compatible with 0.15.x code.
required_version = ">= 0.12.26"
}

Expand Down
4 changes: 2 additions & 2 deletions modules/consul-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# ----------------------------------------------------------------------------------------------------------------------

terraform {
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
# This module is now only being tested with Terraform 0.15.x. However, to make upgrading easier, we are setting
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
# forwards compatible with 0.14.x code.
# forwards compatible with 0.15.x code.
required_version = ">= 0.12.26"
}

Expand Down
4 changes: 2 additions & 2 deletions modules/consul-iam-policies/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# ---------------------------------------------------------------------------------------------------------------------

terraform {
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
# This module is now only being tested with Terraform 0.15.x. However, to make upgrading easier, we are setting
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
# forwards compatible with 0.14.x code.
# forwards compatible with 0.15.x code.
required_version = ">= 0.12.26"
}

Expand Down
4 changes: 2 additions & 2 deletions modules/consul-security-group-rules/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER
# ----------------------------------------------------------------------------------------------------------------------
terraform {
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
# This module is now only being tested with Terraform 0.15.x. However, to make upgrading easier, we are setting
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
# forwards compatible with 0.14.x code.
# forwards compatible with 0.15.x code.
required_version = ">= 0.12.26"
}

Expand Down
2 changes: 1 addition & 1 deletion test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/hashicorp/terraform-aws-consul/test
go 1.14

require (
github.com/gruntwork-io/terratest v0.31.3
github.com/gruntwork-io/terratest v0.33.0
github.com/hashicorp/consul/api v1.4.0
)
Loading

0 comments on commit f46c8bd

Please sign in to comment.