Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created June 15, 2025 16:52
Show Gist options
  • Select an option

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

Select an option

Save gowatana/3d9d6c677d4a880934c9f6002f604180 to your computer and use it in GitHub Desktop.
module "vpc1" {
source = "./modules/nutanix-vpclab"
cluster_name = "lab-nxce-10"
ext_subnet_name = "nw-vlan-21-extnat"
vpc_name = "vpc-a"
overlay_subnet_name = "overlay-a"
vm_name_prefix = "vm-a"
vm_count = 2
os_image_name = "OL9U5_x86_64-kvm-b253.qcow2"
cloud_init_b64 = filebase64("cloud-init_ol-web.yml")
}
output "external_ip_vpc1" {
value = module.vpc1.vpc_external_ip
}
output "vm_ip_vpc1" {
value = module.vpc1.vms_name_ip_map
}
@gowatana
Copy link
Author

Terraform で FVN の NAT VPC を構成してみる。Part-06:VPC ~ 仮想マシンの作成(Module 化)
https://blog.ntnx.jp/entry/2025/06/16/022510

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