Skip to content

Commit

Permalink
Allow usage with AWS v4 provider (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjagiello authored May 7, 2022
1 parent 51d82e7 commit 8da6b01
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
terraform-version: [ 0.12.30, 0.13.6, 0.14.10, 0.15.0 ]
terraform-version: [ 0.12.30, 0.13.6, 0.14.10, 0.15.0, 1.1.9 ]
steps:
- uses: actions/checkout@v2
- run: terraform fmt -check
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
python-version: 3.8

- name: Install dependencies
run: pip install --pre flake8==3.9.0 black==20.8b1
run: pip install --pre flake8==4.0.1 black==22.3.0

- uses: actions/checkout@v2
- run: flake8
Expand All @@ -99,7 +99,7 @@ jobs:
# 3.8 lambda. See the link below for reference.
# https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
- name: Install dependencies
run: pip install boto3==1.16.31 botocore==1.19.31
run: pip install boto3==1.20.32 botocore==1.23.32

- uses: actions/checkout@v2
- run: python -m tests
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.48.0
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.71.0
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ should be good to go.
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12 |
| <a name="requirement_archive"></a> [archive](#requirement\_archive) | >= 1.3 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70, < 4.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.70, < 5.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_archive"></a> [archive](#provider\_archive) | >= 1.3 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.70, < 4.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.70, < 5.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion examples/basic/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
aws = {
source = "hashicorp/aws"
version = "~> 3.33"
version = "~> 4.0"
}
}
required_version = ">= 0.12"
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
aws = {
source = "hashicorp/aws"
version = ">= 2.70, < 4.0"
version = ">= 2.70, < 5.0"
}
}
required_version = ">= 0.12"
Expand Down

0 comments on commit 8da6b01

Please sign in to comment.