Skip to content

Commit

Permalink
Upgrade to TF0.15 (#72)
Browse files Browse the repository at this point in the history
* Upgrade to TF0.15

* Ignore docs for the builds
  • Loading branch information
grem11n committed Apr 22, 2021
1 parent a543a8c commit 34efe54
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/terratest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,24 @@ on:
branches:
- master
- terraform011
paths-ignore:
- '**.md'
pull_request:
types: [opened, edited, reopened, synchronize]
types:
- opened
- edited
- reopened
- synchronize
paths-ignore:
- '**.md'

jobs:
terraform-static:
name: terraform-fmt
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ['0.14.10', '0.15.0']
terraform: ['0.15.0']
steps:
- name: 'Checkout'
uses: actions/checkout@master
Expand All @@ -34,7 +42,7 @@ jobs:
strategy:
max-parallel: 1
matrix:
terraform: ['0.14.6', '0.15.0']
terraform: ['0.15.0']
steps:
- name: Set up Go
uses: actions/setup-go@v2
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ You can also manage peering options, but you need to run `apply` twice to do tha

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

* For Terraform versions `>=0.15` use `v4.*` versions of this module
* For Terraform versions `>=0.13` use `v3.*` versions of this module
* For Terraform versions `>=0.12 <0.13` use `v2.*` versions of this module
* If you're still using Terraform `0.11`, you can use `v1.*` versions of this module
Expand Down
14 changes: 3 additions & 11 deletions provider.tf
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
source = "hashicorp/aws"
version = "~> 3.37"
configuration_aliases = [aws.this, aws.peer]
}
}
}

# Aliases are required because of cross-region
provider "aws" {
alias = "this"
}

provider "aws" {
alias = "peer"
}

0 comments on commit 34efe54

Please sign in to comment.