Created
August 23, 2022 12:58
-
-
Save rtrentin73/514e2743fc0c94e8426b8184ed4d36af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aviatrix_gateway_snat" "ingress-gw-east-snat" { | |
gw_name = "ingress-gw-east" | |
snat_mode = "customized_snat" | |
snat_policy { | |
protocol = "all" | |
interface = "eth0" | |
connection = "None" | |
mark = "65535" | |
snat_ips = aviatrix_gateway.ingress-gw-east.private_ip | |
} | |
sync_to_ha = false | |
} | |
resource "aviatrix_gateway_snat" "ingress-gw-central-snat" { | |
gw_name = "ingress-gw-central" | |
snat_mode = "customized_snat" | |
snat_policy { | |
protocol = "all" | |
interface = "eth0" | |
connection = "None" | |
mark = "65537" | |
snat_ips = aviatrix_gateway.ingress-gw-central.private_ip | |
} | |
sync_to_ha = false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment