Difference between revisions of "Error: MalformedPolicyDocumentException: Policy contains a statement with one or more invalid principals."
Jump to navigation
Jump to search
| 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" { | ||
│ | │ | ||
Revision as of 08:40, 21 September 2021
╷ │ 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" { │ ╵
See also
terraform plan: [-refresh-only | -lock=false|-target|-var-file|will be created|--help], Terraform plan errors, Terraform plan examples, Terraform plan execution errors, (known after apply)- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
Advertising: