Skip to content

Commit 34efe54

Browse files
authored
Upgrade to TF0.15 (#72)
* Upgrade to TF0.15 * Ignore docs for the builds
1 parent a543a8c commit 34efe54

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

.github/workflows/terratest.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,24 @@ on:
55
branches:
66
- master
77
- terraform011
8+
paths-ignore:
9+
- '**.md'
810
pull_request:
9-
types: [opened, edited, reopened, synchronize]
11+
types:
12+
- opened
13+
- edited
14+
- reopened
15+
- synchronize
16+
paths-ignore:
17+
- '**.md'
1018

1119
jobs:
1220
terraform-static:
1321
name: terraform-fmt
1422
runs-on: ubuntu-latest
1523
strategy:
1624
matrix:
17-
terraform: ['0.14.10', '0.15.0']
25+
terraform: ['0.15.0']
1826
steps:
1927
- name: 'Checkout'
2028
uses: actions/checkout@master
@@ -34,7 +42,7 @@ jobs:
3442
strategy:
3543
max-parallel: 1
3644
matrix:
37-
terraform: ['0.14.6', '0.15.0']
45+
terraform: ['0.15.0']
3846
steps:
3947
- name: Set up Go
4048
uses: actions/setup-go@v2

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ You can also manage peering options, but you need to run `apply` twice to do tha
2727

2828
**Always make sure you pinned the module version!**
2929

30+
* For Terraform versions `>=0.15` use `v4.*` versions of this module
3031
* For Terraform versions `>=0.13` use `v3.*` versions of this module
3132
* For Terraform versions `>=0.12 <0.13` use `v2.*` versions of this module
3233
* If you're still using Terraform `0.11`, you can use `v1.*` versions of this module

provider.tf

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
terraform {
22
required_providers {
33
aws = {
4-
source = "hashicorp/aws"
5-
version = "~> 3.0"
4+
source = "hashicorp/aws"
5+
version = "~> 3.37"
6+
configuration_aliases = [aws.this, aws.peer]
67
}
78
}
89
}
9-
10-
# Aliases are required because of cross-region
11-
provider "aws" {
12-
alias = "this"
13-
}
14-
15-
provider "aws" {
16-
alias = "peer"
17-
}

0 commit comments

Comments
 (0)