How to access to the gateway IP of a docker_network resource ? #464
-
Hello, I'm fairly new to Terraform and I tried to use it for deployment automation. So far it's great. I created a
And I'm trying to access to the gateway in order to create the reverse proxy in nginx using a
Instead of hard-coding the gateway address of Can someone help me please ?
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Self-aswering ${one(docker_network.my_network.ipam_config).gateway} |
Beta Was this translation helpful? Give feedback.
Self-aswering ${one(docker_network.my_network.ipam_config).gateway}