Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created June 14, 2025 12:39
Show Gist options
  • Select an option

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

Select an option

Save gowatana/e8198aa1ade9374ec17e74aa943a65ea to your computer and use it in GitHub Desktop.
resource "nutanix_subnet_v2" "overlay1" {
name = "overlay-11"
subnet_type = "OVERLAY"
vpc_reference = resource.nutanix_vpc_v2.vpc1.ext_id
description = null
ip_config {
ipv4 {
ip_subnet {
ip { value = "10.0.11.0" }
prefix_length = 24
}
default_gateway_ip { value = "10.0.11.1" }
pool_list {
start_ip { value = "10.0.11.10" }
end_ip { value = "10.0.11.19" }
}
}
}
dhcp_options {
domain_name_servers {
ipv4 { value = "192.168.1.101" }
}
domain_name_servers {
ipv4 { value = "192.168.1.102" }
}
search_domains = ["go-lab.jp"]
}
}
@gowatana

Copy link
Copy Markdown
Author

下記の投稿むけ。

Terraform で FVN の NAT VPC を構成してみる。Part-04:VPC と仮想マシンの作成(tf ファイル分割)
https://blog.ntnx.jp/entry/2025/06/14/221256

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