Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

332
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda