Error: MalformedPolicyDocumentException: Policy contains a statement with one or more invalid principals.
╷ │ Error: MalformedPolicyDocumentException: Policy contains a statement with one or more invalid principals. │ │ with module.cmk.aws_kms_key.this, │ on .terraform/modules/cmk/modules/kms/yourmodule.tf line 7, in resource "aws_kms_key" "this": │ 7: resource "aws_kms_key" "this" { │ ╵
Error: "kms_key_id" (arn:::aws) is an invalid ARN: arn: not enough sections
See also[edit]
Advertising: