Skip to content

Instantly share code, notes, and snippets.

@gowatana
Last active June 12, 2025 16:01
Show Gist options
  • Select an option

  • Save gowatana/8a270a2e7975061e4969a2576cf5a9f6 to your computer and use it in GitHub Desktop.

Select an option

Save gowatana/8a270a2e7975061e4969a2576cf5a9f6 to your computer and use it in GitHub Desktop.
resource "nutanix_subnet_v2" "ext-subnet1" {
name = "nw-vlan-21-extnat"
description = null
cluster_reference = data.nutanix_clusters_v2.cluster1.cluster_entities[0].ext_id
is_external = true
is_nat_enabled = true
network_id = 21
subnet_type = "VLAN"
ip_config {
ipv4 {
ip_subnet {
ip { value = "192.168.21.0" }
prefix_length = 24
}
default_gateway_ip { value = "192.168.21.1" }
pool_list {
start_ip { value = "192.168.21.10" }
end_ip { value = "192.168.21.29" }
}
}
}
}
@gowatana

gowatana commented May 18, 2025

Copy link
Copy Markdown
Author

下記の投稿むけ。

Terraform で FVN の NAT VPC を構成してみる。Part-01:NAT VPC 環境の作成
https://blog.ntnx.jp/entry/2025/05/17/234906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment