Skip to content

Commit 6f2ed79

Browse files
authored
Merge pull request #30 from minaslater/minaslater/upgrade-secrets-aws-provider
Upgrade AWS provider to 6.x in secret module
2 parents bd8852b + 8fb6c46 commit 6f2ed79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

secret/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ data "aws_caller_identity" "this" {}
281281
locals {
282282
account_arn = "arn:aws:iam::${local.account_id}:root"
283283
account_id = data.aws_caller_identity.this.account_id
284-
region = data.aws_region.this.name
284+
region = data.aws_region.this.region
285285
sid_suffix = join("", regexall("[[:alnum:]]+", var.name))
286286
read_principals = coalesce(var.read_principals, [local.account_arn])
287287
admin_principals = coalesce(var.admin_principals, [local.account_arn])

secret/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
}

0 commit comments

Comments
 (0)