Untitled

From Ample Motmot, 4 Months ago, written in Plain Text, viewed 54 times.
URL https://code.nat.moe/view/482aa9f2 Embed
Download Paste or View Raw
  1. packer {
  2.   required_plugins {
  3.     digitalocean = {
  4.       version = ">= 1.0.0"
  5.       source  = "github.com/hashicorp/digitalocean"
  6.     }
  7.   }
  8. }
  9.  
  10. source "digitalocean" "example" {
  11.   api_token    = "YOUR API KEY"
  12.   image        = "ubuntu-16-04-x64"
  13.   region       = "nyc3"
  14.   size         = "512mb"
  15.   ssh_username = "root"
  16. }
  17.  
  18. build {
  19.   sources = ["source.digitalocean.example"]
  20. }

Reply to "Untitled"

Here you can reply to the paste above

captcha