Skip to content

Commit c1ace99

Browse files
bfqrstRalph Stoichita
andauthored
feat!: Bump minimum AWS provider version to 6.0 (#27)
* feat: bump minimum AWS provider version to 6.0 and update changelog * fix: update fixtures and docs for AWS provider 6.0 compatibility * fix: update Terraform version constraint in fixtures/combinations to >= 1.5.7 * docs: update auto-generated docs for AWS provider 6.0 --------- Co-authored-by: Ralph Stoichita <ralph.stoichita@hdi.de>
1 parent 5dccb3c commit c1ace99

17 files changed

Lines changed: 35 additions & 25 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [3.0.0](https://github.com/terraform-aws-modules/terraform-aws-pricing/compare/v2.0.3...v3.0.0) (2026-02-03)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* Minimum AWS provider version bumped from v4.0 to v6.0
11+
* Updated `terraform-aws-modules/ec2-instance/aws` module in fixtures from v3.0 to v6.0
12+
13+
### Bug Fixes
14+
15+
* Replace deprecated `name` argument with `region` in `aws_region` data source ([#24](https://github.com/terraform-aws-modules/terraform-aws-pricing/issues/24))
16+
517
## [2.0.3](https://github.com/terraform-aws-modules/terraform-aws-pricing/compare/v2.0.2...v2.0.3) (2024-03-07)
618

719

examples/complete/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Run `terraform destroy` when you don't need these resources.
2222
| Name | Version |
2323
|------|---------|
2424
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
25-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.0 |
25+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.0 |
2626
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 1.0 |
2727

2828
## Providers

examples/complete/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 4.0"
7+
version = ">= 6.0"
88
}
99

1010
local = {

examples/cost-modules-tf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Run `terraform destroy` when you don't need these resources.
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.0 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.0 |
2424
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 1.0 |
2525

2626
## Providers

examples/cost-modules-tf/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 4.0"
7+
version = ">= 6.0"
88
}
99

1010
local = {

examples/fixtures/all-resources/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.0"
7+
version = ">= 6.0"
88
}
99
}
1010
}

examples/fixtures/combinations/main.tf

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,22 @@ data "aws_ami" "amazon_linux" {
3434

3535
module "instance_count_2" {
3636
source = "terraform-aws-modules/ec2-instance/aws"
37-
version = "~> 3.0"
37+
version = "~> 6.0"
3838

3939
name = "instance_count_"
4040
ami = data.aws_ami.amazon_linux.id
4141
instance_type = "t2.micro"
4242
subnet_id = element(data.aws_subnets.all.ids, 0)
4343

44-
root_block_device = [
45-
{
46-
volume_type = "gp2"
47-
volume_size = 10
48-
},
49-
]
44+
root_block_device = {
45+
volume_type = "gp2"
46+
volume_size = 10
47+
}
5048
}
5149

5250
module "module_count_2" {
5351
source = "terraform-aws-modules/ec2-instance/aws"
54-
version = "~> 3.0"
52+
version = "~> 6.0"
5553

5654
name = "module_count_"
5755
ami = data.aws_ami.amazon_linux.id
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.0"
7+
version = ">= 6.0"
88
}
99
}
1010
}

examples/pricing-dev/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Run `terraform destroy` when you don't need these resources.
1818
| Name | Version |
1919
|------|---------|
2020
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
21-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.0 |
21+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.0 |
2222
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 1.0 |
2323

2424
## Providers

examples/pricing-dev/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 4.0"
7+
version = ">= 6.0"
88
}
99

1010
local = {

0 commit comments

Comments
 (0)