Skip to content

Commit 0dfd32b

Browse files
xnick123Nikolaos Fideropoulosantonbabenko
authored
feat!: Upgrade AWS provider and min required Terraform version to 6.0 and 1.5.7 respectively (#75)
Co-authored-by: Nikolaos Fideropoulos <nikolaos.fideropoulos@tui.com> Co-authored-by: Anton Babenko <anton@antonbabenko.com>
1 parent f981f3d commit 0dfd32b

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.98.1
3+
rev: v1.99.4
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_wrapper_module_for_each

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ module "sqs" {
166166

167167
| Name | Version |
168168
|------|---------|
169-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
170-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.36 |
169+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
170+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.0 |
171171

172172
## Providers
173173

174174
| Name | Version |
175175
|------|---------|
176-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.36 |
176+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.0 |
177177

178178
## Modules
179179

examples/complete/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ Note that this example may create resources which cost money. Run `terraform des
2727

2828
| Name | Version |
2929
|------|---------|
30-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
31-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.36 |
30+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
31+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.0 |
3232

3333
## Providers
3434

3535
| Name | Version |
3636
|------|---------|
37-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.36 |
37+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.0 |
3838

3939
## Modules
4040

examples/complete/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
terraform {
2-
required_version = ">= 1.0"
2+
required_version = ">= 1.5.7"
33

44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 4.36"
7+
version = ">= 6.0"
88
}
99
}
1010
}

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ output "queue_arn" {
1414

1515
output "queue_arn_static" {
1616
description = "The ARN of the SQS queue. Use this to avoid cycle errors between resources (e.g., Step Functions)"
17-
value = var.create && !var.use_name_prefix ? "arn:${data.aws_partition.current.partition}:sqs:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:${local.name}" : ""
17+
value = var.create && !var.use_name_prefix ? "arn:${data.aws_partition.current.partition}:sqs:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${local.name}" : ""
1818
}
1919

2020
output "queue_url" {
@@ -43,7 +43,7 @@ output "dead_letter_queue_arn" {
4343

4444
output "dead_letter_queue_arn_static" {
4545
description = "The ARN of the SQS queue. Use this to avoid cycle errors between resources (e.g., Step Functions)"
46-
value = var.create && var.create_dlq && !var.use_name_prefix ? "arn:${data.aws_partition.current.partition}:sqs:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:${local.dlq_name}" : ""
46+
value = var.create && var.create_dlq && !var.use_name_prefix ? "arn:${data.aws_partition.current.partition}:sqs:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${local.dlq_name}" : ""
4747
}
4848

4949
output "dead_letter_queue_url" {

versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
terraform {
2-
required_version = ">= 1.0"
2+
required_version = ">= 1.5.7"
33

44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 4.36"
7+
version = ">= 6.0"
88
}
99
}
1010
}

wrappers/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
terraform {
2-
required_version = ">= 1.0"
2+
required_version = ">= 1.5.7"
33

44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 4.36"
7+
version = ">= 6.0"
88
}
99
}
1010
}

0 commit comments

Comments
 (0)