Created
May 8, 2024 23:59
-
-
Save gowatana/fcb154125777bea0933d8ec07f76745f to your computer and use it in GitHub Desktop.
This file contains 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
10,14d9 | |
< data "vsphere_datastore" "iso_datastore" { | |
< name = "datastore1" | |
< datacenter_id = data.vsphere_datacenter.datacenter.id | |
< } | |
< | |
24a20,24 | |
> data "vsphere_virtual_machine" "template" { | |
> name = "photon-hw15-5.0_update-20231104" | |
> datacenter_id = data.vsphere_datacenter.datacenter.id | |
> } | |
> | |
32,36c32 | |
< guest_id = "ubuntu64Guest" | |
< cdrom { | |
< datastore_id = data.vsphere_datastore.iso_datastore.id | |
< path = "ISO/Ubuntu-ja-22.04-desktop-amd64.iso" | |
< } | |
--- | |
> guest_id = data.vsphere_virtual_machine.template.guest_id | |
38c34 | |
< network_id = data.vsphere_network.network.id | |
--- | |
> network_id = data.vsphere_network.network.id | |
39a36,38 | |
> } | |
> clone { | |
> template_uuid = data.vsphere_virtual_machine.template.id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下記の投稿むけ。
Avi Load Balancer を Terraform で操作してみる。(vSphere といっしょに)
https://vm.gowatana.jp/entry/2024/05/09/235916