Difference between revisions of "Error: MalformedPolicyDocumentException: Policy contains a statement with one or more invalid principals."
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
│ 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, | + | │ with module.[[cmk]].aws_kms_key.this, |
− | │ on .terraform/modules/cmk/modules/kms/ | + | │ on .terraform/modules/cmk/modules/kms/yourmodule.tf line 7, in resource "[[aws_kms_key]]" "this": |
│ 7: 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 == | == See also == | ||
* {{terraform plan}} | * {{terraform plan}} | ||
− | * {{ | + | * {{AWS KMS}} |
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 12:08, 9 September 2022
╷ │ 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: