Skip to content

Commit 3951a26

Browse files
authored
Upgrade to Terraform 0.14 (#40)
1 parent 7c3c6b0 commit 3951a26

File tree

23 files changed

+50
-43
lines changed

23 files changed

+50
-43
lines changed

.circleci/config.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@ version: 2.0
22
defaults: &defaults
33
machine:
44
image: ubuntu-1604:201903-01
5-
65
env: &env
76
environment:
87
MODULE_CI_VERSION: v0.29.5
98
TERRATEST_LOG_PARSER_VERSION: v0.30.3
109
GRUNTWORK_INSTALLER_VERSION: v0.0.30
11-
TERRAFORM_VERSION: 0.13.2
10+
TERRAFORM_VERSION: 0.14.4
1211
TERRAGRUNT_VERSION: NONE
1312
GO_VERSION: 1.14
14-
1513
jobs:
1614
test aws:
17-
<<: *defaults
18-
<<: *env
15+
!!merge <<: *defaults
16+
!!merge <<: *env
1917
steps:
2018
- checkout
2119
- run: &install_gruntwork_tooling
@@ -65,7 +63,6 @@ jobs:
6563
command: |
6664
terratest_log_parser --testlog /tmp/logs/python2/all.log --outputdir /tmp/logs/python2
6765
terratest_log_parser --testlog /tmp/logs/python3/all.log --outputdir /tmp/logs/python3
68-
6966
when: always
7067
- store_artifacts:
7168
path: /tmp/logs

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ __pycache__
2525

2626
# Go best practices dictate that libraries should not include the vendor directory
2727
vendor
28+
29+
# Ignore Terraform lock files, as we want to test the Terraform code in these repos with the latest provider
30+
# versions.
31+
.terraform.lock.hcl

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Maintained by Gruntwork.io](https://img.shields.io/badge/maintained%20by-gruntwork.io-%235849a6.svg)](https://gruntwork.io/?ref=repo_package_terraform_utilities)
22
[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/gruntwork-io/package-terraform-utilities.svg?label=latest)](https://github.com/gruntwork-io/package-terraform-utilities/releases/latest)
3-
![Terraform Version](https://img.shields.io/badge/tf-%3E%3D0.12.0-blue.svg)
3+
![Terraform Version](https://img.shields.io/badge/tf-%3E%3D0.14.0-blue.svg)
44

55
# Terraform Utility Modules
66

examples/executable-dependency/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
# This module is now only being tested with Terraform 0.13.x. However, to make upgrading easier, we are setting
2+
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
33
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
4-
# forwards compatible with 0.13.x code.
4+
# forwards compatible with 0.14.x code.
55
required_version = ">= 0.12.26"
66
}
77

examples/instance-type/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
# This module is now only being tested with Terraform 0.13.x. However, to make upgrading easier, we are setting
2+
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
33
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
4-
# forwards compatible with 0.13.x code.
4+
# forwards compatible with 0.14.x code.
55
required_version = ">= 0.12.26"
66
}
77

examples/join-path/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
# This module is now only being tested with Terraform 0.13.x. However, to make upgrading easier, we are setting
2+
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
33
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
4-
# forwards compatible with 0.13.x code.
4+
# forwards compatible with 0.14.x code.
55
required_version = ">= 0.12.26"
66
}
77

examples/list-remove/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
# This module is now only being tested with Terraform 0.13.x. However, to make upgrading easier, we are setting
2+
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
33
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
4-
# forwards compatible with 0.13.x code.
4+
# forwards compatible with 0.14.x code.
55
required_version = ">= 0.12.26"
66
}
77

examples/operating-system/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
# This module is now only being tested with Terraform 0.13.x. However, to make upgrading easier, we are setting
2+
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
33
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
4-
# forwards compatible with 0.13.x code.
4+
# forwards compatible with 0.14.x code.
55
required_version = ">= 0.12.26"
66
}
77

examples/pex/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66

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

examples/request-quota-increase/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
# This module is now only being tested with Terraform 0.13.x. However, to make upgrading easier, we are setting
2+
# This module is now only being tested with Terraform 0.14.x. However, to make upgrading easier, we are setting
33
# 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it
4-
# forwards compatible with 0.13.x code.
4+
# forwards compatible with 0.14.x code.
55
required_version = ">= 0.12.26"
66
}
77

0 commit comments

Comments
 (0)