Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save gowatana/5628b688dadc7a13bc6a0571b22148eb to your computer and use it in GitHub Desktop.
resource "nutanix_routes_v2" "route1" {
name = "route1"
description = null
vpc_reference = resource.nutanix_vpc_v2.vpc1.ext_id
route_type = "STATIC"
route_table_ext_id = data.nutanix_route_tables_v2.table1.route_tables[0].ext_id
destination {
ipv4 {
ip { value = "0.0.0.0" }
prefix_length = 0
}
}
next_hop {
next_hop_type = "EXTERNAL_SUBNET"
next_hop_reference = resource.nutanix_subnet_v2.ext-subnet1.ext_id
}
}
@gowatana

Copy link
Copy Markdown
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