Guest User

Untitled

a guest
Dec 24th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. provider "nutanix" {
  2. username = "admin"
  3. password = "パスワード"
  4. endpoint = "Prism アドレス"
  5. insecure = true
  6. port = 9440
  7. }
  8.  
  9. resource "nutanix_virtual_machine" "vm01-tf" {
  10. name = "vm01-tf"
  11. description = "Terraform test VM."
  12.  
  13. num_vcpus_per_socket = 1
  14. num_sockets = 1
  15. memory_size_mib = 512
  16.  
  17. nic_list = [{
  18. subnet_reference = [{
  19. kind = "subnet"
  20. uuid = "47226b9d-85b5-46ee-ab05-90274a8554d2"
  21. }]
  22. }]
  23.  
  24. disk_list = [{
  25. # image like we're doing here
  26. data_source_reference = [{
  27. kind = "image"
  28. uuid = "a73ebf41-ddc5-486b-977a-8e35bc70479f"
  29. }]
  30. }]
  31. }
Add Comment
Please, Sign In to add comment