diff --git a/infrastructure/terraform/components/acct/module_ecr_kms.tf b/infrastructure/terraform/components/acct/module_ecr_kms.tf index a6e900b14..f62976f8f 100644 --- a/infrastructure/terraform/components/acct/module_ecr_kms.tf +++ b/infrastructure/terraform/components/acct/module_ecr_kms.tf @@ -18,7 +18,7 @@ module "kms_ecr" { iam_delegation = true } -data "aws_iam_policy_document" "kms" { +data "aws_iam_policy_document" "kms_ecr" { # '*' resource scope is permitted in access policies as as the resource is itself # https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-services.html