Skip to content

Instantly share code, notes, and snippets.

@arcones
Created June 30, 2020 12:54
Show Gist options
  • Save arcones/7bc62c94ac8f66a0714683f549aa9939 to your computer and use it in GitHub Desktop.
Save arcones/7bc62c94ac8f66a0714683f549aa9939 to your computer and use it in GitHub Desktop.
aws_kms_grant doesn't accept service principals in grantee_principal fiend
2020/06/30 14:52:24 [TRACE] [walkValidate] Entering eval tree: module.normalization.aws_lambda_function.normalization
2020/06/30 14:52:24 [TRACE] module.normalization: eval: *terraform.EvalSequence
2020/06/30 14:52:24 [TRACE] module.normalization: eval: *terraform.EvalGetProvider
2020/06/30 14:52:24 [TRACE] module.normalization: eval: *terraform.EvalValidateResource
2020/06/30 14:52:24 [WARN] module.normalization: eval: *terraform.EvalValidateResource, non-fatal err: "grantee_principal" doesn't look like a valid ARN ("^arn:[\\w-]+:([a-zA-Z0-9\\-])+:([a-z]{2}-(gov-)?[a-z]+-\\d{1})?:(\\d{12})?:(.*)$"): "sns.amazonaws.com"
2020/06/30 14:52:24 [ERROR] module.normalization: eval: *terraform.EvalSequence, err: "grantee_principal" doesn't look like a valid ARN ("^arn:[\\w-]+:([a-zA-Z0-9\\-])+:([a-z]{2}-(gov-)?[a-z]+-\\d{1})?:(\\d{12})?:(.*)$"): "sns.amazonaws.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment