civo.tf 364 B

123456789101112131415
  1. data "civo_ssh_key" "sshkey" {
  2. name = "your-ssh-key-name"
  3. }
  4. resource "civo_instance" "server" {
  5. hostname = "servername"
  6. size = "g3.small"
  7. disk_image = "ubuntu-focal"
  8. # (optional):
  9. # ---
  10. # tags = ["python", "nginx"]
  11. # notes = "this is a note for the server"
  12. # initial_user = "user"
  13. # sshkey_id = data.civo_ssh_key.sshkey.id
  14. }