diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e4e7da..424b371 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.96.1 + rev: v1.98.0 hooks: - id: terraform_fmt - id: terraform_wrapper_module_for_each diff --git a/main.tf b/main.tf index a62b8b2..169b8e3 100644 --- a/main.tf +++ b/main.tf @@ -86,7 +86,7 @@ data "aws_iam_policy_document" "this" { condition { test = "StringEquals" values = [data.aws_caller_identity.current.account_id] - variable = "AWS:SourceOwner" + variable = "AWS:SourceAccount" } } }