ope*_*per 6 amazon-web-services amazon-iam kubernetes
我正在尝试配置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
Run Code Online (Sandbox Code Playgroud)
我收到以下错误
An error occurred (MalformedPolicyDocument) when calling the CreatePolicy operation: Syntax errors in policy
任何解决此问题的帮助都会很棒,谢谢。
ope*_*per 10
对于可能遇到类似问题的任何人,我下载了 json 并使用file
协议指向该文件。
aws iam create-policy \
--policy-name ALBIngressControllerIAMPolicy \
--policy-document file:///iam-policy.json
Run Code Online (Sandbox Code Playgroud)
我在这里找到了答案AWS 格式错误的策略错误
归档时间: |
|
查看次数: |
1623 次 |
最近记录: |