-
-
Save gowatana/3d9d6c677d4a880934c9f6002f604180 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Terraform で FVN の NAT VPC を構成してみる。Part-06:VPC ~ 仮想マシンの作成(Module 化)
https://blog.ntnx.jp/entry/2025/06/16/022510