Skip to content

Commit 4147ad2

Browse files
authored
Merge pull request #49 from lorengordon/major/region-name-deprecation
Addresses deprecation warning for aws_region "name" attribute
2 parents df99d07 + a0640d5 commit 4147ad2

5 files changed

Lines changed: 14 additions & 5 deletions

File tree

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.0.1
2+
current_version = 2.0.0
33
commit = True
44
message = Bumps version to {new_version}
55
tag = False

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
### [2.0.0](https://github.com/plus3it/terraform-aws-tardigrade-iam-key-enforcer/releases/tag/2.0.0)
8+
9+
**Released**: 2026.01.02
10+
11+
**Summary**:
12+
13+
* Bumps min AWS Provider version to v6
14+
* Addresses deprecation warning for aws_region "name" attribute
15+
716
### [1.0.1](https://github.com/plus3it/terraform-aws-tardigrade-iam-key-enforcer/releases/tag/1.0.1)
817

918
**Released**: 2025.12.23

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ The function audits each user in an account for access keys and determines how l
1313
| Name | Version |
1414
|------|---------|
1515
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1 |
16-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.0 |
16+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6 |
1717

1818
## Providers
1919

2020
| Name | Version |
2121
|------|---------|
22-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.0 |
22+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6 |
2323

2424
## Resources
2525

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ resource "aws_lambda_permission" "this" {
9393
action = "lambda:InvokeFunction"
9494
function_name = module.lambda.lambda_function_name
9595
principal = "events.amazonaws.com"
96-
source_arn = "arn:${data.aws_partition.current.partition}:events:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:rule/${var.project_name}-*"
96+
source_arn = "arn:${data.aws_partition.current.partition}:events:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:rule/${var.project_name}-*"
9797
}
9898

9999
##############################

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 = ">= 3.0"
7+
version = ">= 6"
88
}
99

1010
}

0 commit comments

Comments
 (0)