more terraform boilerplates

This commit is contained in:
Christian
2022-03-04 17:45:04 +01:00
parent cda48ece9d
commit e4fa5990f4
8 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
data "civo_ssh_key" "sshkey" {
name = "your-ssh-key-name"
}
resource "civo_instance" "server" {
hostname = "servername"
size = "g3.small"
disk_image = "ubuntu-focal"
# (optional):
# ---
# tags = ["python", "nginx"]
# notes = "this is a note for the server"
# initial_user = "user"
# sshkey_id = data.civo_ssh_key.sshkey.id
}