Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Policy contains a statement with one or more invalid principals #1

Open
tiddnet opened this issue Apr 2, 2024 · 0 comments
Open

Policy contains a statement with one or more invalid principals #1

tiddnet opened this issue Apr 2, 2024 · 0 comments

Comments

@tiddnet
Copy link

tiddnet commented Apr 2, 2024

terraform plan -var 'cluster_name=aws-hydrolix-dev'

Encountered an error during “terraform apply”,

Error: context deadline exceeded Error: context deadline exceeded
│ │ with module.autoscaler.helm_release.metrics-server,
│ on ../../modules/autoscaler/main.tf line 43, in resource "helm_release" "metrics-server":
│ 43: resource "helm_release" "metrics-server" {

Error: creating KMS Key: MalformedPolicyDocumentException: Policy contains a statement with one or more invalid principals.

To work around the issue, we first disabled the “autoscaler” module and ran the “terraform apply”, once 1st apply is successful, we enabled the “autoscaler” module and ran a “terraform apply” again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant