Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

330
Vistas
MalformedPolicyDocument when calling the CreatePolicy operation - AWS

I am trying to configure ALB Ingress Controller on Amazon EKS and following steps outlined in the document https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html

however, when i run

aws iam create-policy \
    --policy-name ALBIngressControllerIAMPolicy \
    --policy-document https://raw.githubusercontent.com/kubernetes-sigs/aws-alb-ingress-controller/v1.1.4/docs/examples/iam-policy.json

I am getting the following error An error occurred (MalformedPolicyDocument) when calling the CreatePolicy operation: Syntax errors in policy

any help in fixing this would be great, Thanks.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

For anyone who might see a similar issue, I downloaded the json and point to the file using the file protocol.

aws iam create-policy \
    --policy-name ALBIngressControllerIAMPolicy \
    --policy-document file:///iam-policy.json

I found the answer here AWS malformed policy error

over 4 years ago · Santiago Trujillo Denunciar

0

Just put quotes ' on json call:

aws iam create-policy \
        --policy-name ALBIngressControllerIAMPolicy \
        --policy-document 'https://raw.githubusercontent.com/kubernetes-sigs/aws-alb-ingress-controller/v1.1.4/docs/examples/iam-policy.json'
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda