Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created June 17, 2025 13:31
Show Gist options
  • Select an option

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

Select an option

Save gowatana/d8956cc4de20c93c6da60a4a1b379ddf to your computer and use it in GitHub Desktop.
resource "nutanix_vpc_v2" "vpc1" {
name = "vpc-21"
external_subnets {
subnet_reference = resource.nutanix_subnet_v2.ext-subnet1.ext_id
external_ips {
ipv4 {
value = "192.168.22.10"
prefix_length = 32
}
}
external_ips {
ipv4 {
value = "192.168.22.11"
prefix_length = 32
}
}
}
externally_routable_prefixes {
ipv4 {
ip { value = "10.0.0.0" }
prefix_length = 16
}
}
}
@gowatana
Copy link
Author

下記の投稿むけ。

Flow Virtual Networking の Routed VPC を構成してみる。Part-02:Routed VPC 環境の作成(Terraform)
https://blog.ntnx.jp/entry/2025/06/17/234758

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