This message was deleted.
# atlantis-community
s
This message was deleted.
d
Sounds like a network issue with the EKS cluster and the worker nodes. Have you double checked your security groups to verify egress rules?
g
Have you tried the same operation without Atlantis? Running plan or apply locally?
a
Yes egress has route for internet connectivity, also I am calling my module itself from another Bitbucket repo which is working just fine
Running locally working fine
s
locally from the pod ?
or locally from your machine?
g
Try the usual method of breaking the problem down. If it works locally from your machine, but not from the pod, it may be a networking error with your EKS cluster, so check that in isolation. Fire up an EKS pod that has telnet available (or whatever utility you like using) and check if you can establish a connection, in a vacuum from Helm, Terraform, and Atlantis —
telnet 185.199.109.153 443
.
a
@Gabor Maghera but my other modules are also pulled from BitBucket/Github but I am facing this issue specifically with Helm provider based resources, if its network issue, other modules sources should fail as well with timeout error
s
you need to first isolate the issue to Atlantis or terraform.
👍 1
can you run the same terraform locally?
g
Try local first, from laptop, and then you can also try emulating what Atlantis does, by exec’ing into the pod, and firing off a plan from the MR directory. Based on what you describe, it may be the provider.
a
So I was able to fix this, issue was with using custom CNI [cilium] within my cluster and as Atlantis statefulset pod runs with dnsPolicy: ClusterFirst, it for some reason wasn’t allowing http/https curl requests from within pod, switching back to VPC CNI solved the issue, I am now looking at how same behaviour can be achieved with Cilium CNI