Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- provider "nutanix" {
- username = "admin"
- password = "パスワード"
- endpoint = "Prism アドレス"
- insecure = true
- port = 9440
- }
- resource "nutanix_virtual_machine" "vm01-tf" {
- name = "vm01-tf"
- description = "Terraform test VM."
- num_vcpus_per_socket = 1
- num_sockets = 1
- memory_size_mib = 512
- nic_list = [{
- subnet_reference = [{
- kind = "subnet"
- uuid = "47226b9d-85b5-46ee-ab05-90274a8554d2"
- }]
- }]
- disk_list = [{
- # image like we're doing here
- data_source_reference = [{
- kind = "image"
- uuid = "a73ebf41-ddc5-486b-977a-8e35bc70479f"
- }]
- }]
- }
Add Comment
Please, Sign In to add comment