<p>I am having issues to setup nginx ingress controller in Kubernetes EKS v 1.20. I am following kubernetes/ingress-nginx Installation Guide (<a href="https://kubernetes.github.io/ingress-nginx/deploy/#aws" rel="nofollow noreferrer">https://kubernetes.github.io/ingress-nginx/deploy/#aws</a>) and trying to setup TLS termination in AWS ELB using template below:</p>
<p>wget <a href="https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.0.0/deploy/static/provider/aws/deploy-tls-termination.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.0.0/deploy/static/provider/aws/deploy-tls-termination.yaml</a></p>
<p>I have replaced attributes below to their corresponding value:</p>
<pre><code>VPC CIDR in use for the Kubernetes cluster:

proxy-real-ip-cidr: XXX.XXX.XXX/XX

AWS Certificate Manager (ACM) ID
arn:aws:acm:us-west-2:XXXXXXXX:certificate/XXXXXX-XXXXXXX-XXXXXXX-XXXXXXXX
</code></pre>
<p>But when I deploy the manifest I get error below:</p>
<pre><code>error: error parsing deploy-tls-termination.yaml: error converting YAML to JSON: yaml: line 20: mapping values are not allowed in this context
</code></pre>
<p>Y checked the sintax using yamllint and this is the result:</p>
<pre><code>yamllint deploy-tls-termination.yaml 
deploy-tls-termination.yaml
  45:21     error    syntax error: mapping values are not allowed here (syntax)
  273:81    error    line too long (90 &gt; 80 characters)  (line-length)
  274:81    error    line too long (142 &gt; 80 characters)  (line-length)
  336:81    error    line too long (131 &gt; 80 characters)  (line-length)
  476:81    error    line too long (82 &gt; 80 characters)  (line-length)
  517:81    error    line too long (86 &gt; 80 characters)  (line-length)
  591:81    error    line too long (84 &gt; 80 characters)  (line-length)
  621:81    error    line too long (139 &gt; 80 characters)  (line-length)
  641:81    error    line too long (84 &gt; 80 characters)  (line-length)
  671:81    error    line too long (139 &gt; 80 characters)  (line-length)
</code></pre>
<p>I can´t figure out how to solve it. Any ideas?</p>

Maury Diaz
<p>There was an extra space in the manifest. Fix: <a href="https://github.com/kubernetes/ingress-nginx/pull/7654" rel="nofollow noreferrer">https://github.com/kubernetes/ingress-nginx/pull/7654</a></p>
