886 B
886 B
layout | page_title | sidebar_current | description |
---|---|---|---|
vcd | vCloudDirector: vcd_snat | docs-vcd-resource-snat | Provides a vCloud Director SNAT resource. This can be used to create, modify, and delete source NATs to allow vApps to send external traffic. |
vcd_snat
Provides a vCloud Director SNAT resource. This can be used to create, modify, and delete source NATs to allow vApps to send external traffic.
Example Usage
resource "vcd_snat" "outbound" {
edge_gateway = "Edge Gateway Name"
external_ip = "78.101.10.20"
internal_ip = "10.10.0.0/24"
}
Argument Reference
The following arguments are supported:
edge_gateway
- (Required) The name of the edge gateway on which to apply the SNATexternal_ip
- (Required) One of the external IPs available on your Edge Gatewayinternal_ip
- (Required) The IP or IP Range of the VM(s) to map from