Hello everyone. I wanted to add infracost to my At...
# help
r
Hello everyone. I wanted to add infracost to my Atlantis, but I bump into a small problem. We use gitlab and it is in a private network, its domain is not accessible from the outside.
infracost comment gitlab
wants to send me information, but it can't. I have external endpoints in Atlantis, maybe using it it can be bypassed. Thanks in advance!
s
Right, if your gitlab is not publicly accessible, then it's going to have no way to connect. Some customers solve this with a VPN connection or IP allowlisting or similar method. How does other things running in your atlantis currently reach your gitlab?
r
Hi. Other things like terraform modules are initialized from the vpc towards the internet via cloud nat.
The problem is at the stage where infracost cloud sends comments to my gitlab. I can't forward the port to it through nat. Maybe I can deploy something similar in my infrastructure and use the functionality that doesn't go beyond the vpc?
👍 1