From b5bd6a4cadf0e9f66ea144ba16f6e7455c778416 Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Wed, 3 Apr 2024 05:20:02 -0400 Subject: [PATCH] fix: Correct typo `credentials_arn` -> `credential_arn` (#36) --- .pre-commit-config.yaml | 2 +- main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 938ba8d..edf4a8c 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.88.3 + rev: v1.88.4 hooks: - id: terraform_fmt - id: terraform_wrapper_module_for_each diff --git a/main.tf b/main.tf index 8fb411c..0d20327 100644 --- a/main.tf +++ b/main.tf @@ -270,7 +270,7 @@ resource "aws_ecr_pull_through_cache_rule" "this" { ecr_repository_prefix = each.value.ecr_repository_prefix upstream_registry_url = each.value.upstream_registry_url - credential_arn = try(each.value.credentials_arn, null) + credential_arn = try(each.value.credential_arn, null) } ################################################################################