Untitled

From Fiery Dormouse, 4 Months ago, written in Plain Text, viewed 57 times.
URL https://code.nat.moe/view/5d8edbf5 Embed
Download Paste or View Raw
  1. packer {
  2.   required_plugins {
  3.     googlecompute = {
  4.       version = ">= 0.0.1"
  5.       source = "github.com/hashicorp/googlecompute"
  6.     }
  7.   }
  8. }
  9.  
  10. source "googlecompute" "basic-example" {
  11.   project_id = "my project"
  12.   source_image = "debian-9-stretch-v20200805"
  13.   ssh_username = "packer"
  14.   zone = "us-central1-a"
  15. }
  16.  
  17. build {
  18.   sources = ["sources.googlecompute.basic-example"]
  19. }

Reply to "Untitled"

Here you can reply to the paste above

captcha