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

<p>however, when i run </p>

<pre><code>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
</code></pre>

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

<p>any help in fixing this would be great, Thanks.</p>

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

<pre><code>aws iam create-policy \
    --policy-name ALBIngressControllerIAMPolicy \
    --policy-document file:///iam-policy.json
</code></pre>

<p>I found the answer here <a href="https://stackoverflow.com/questions/24026348/aws-malformed-policy-error">AWS malformed policy error</a></p>
