我正在尝试配置ALB Ingress Controller on Amazon EKS,并在文档https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html中列出以下步骤
但是,当我跑的时候
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我得到了以下错误An error occurred (MalformedPolicyDocument) when calling the CreatePolicy operation: Syntax errors in policy
如果能帮上忙,就太好了,谢谢。
发布于 2020-02-24 13:18:35
对于任何可能看到类似问题的人,我下载了json并使用file协议指向文件。
aws iam create-policy \
--policy-name ALBIngressControllerIAMPolicy \
--policy-document file:///iam-policy.json我在这里找到了答案AWS malformed policy error
https://stackoverflow.com/questions/60375599
复制相似问题