Revert "no-paaacker"

This reverts commit ea0d30219b.
This commit is contained in:
Jackson Delahunt 2019-02-26 10:28:50 +11:00
parent df249afa5a
commit 9ca59681b9
2 changed files with 28 additions and 1 deletions

27
packer/packer.json Normal file
View file

@ -0,0 +1,27 @@
{
"builders": [
{
"type": "googlecompute",
"account_file": "/stemn/credentials/development-environment.json",
"source_image_family": "ubuntu-minimal-1810",
"project_id": "stemnapp",
"zone": "australia-southeast1-a",
"instance_name": "packer-development-environment-{{timestamp}}",
"image_name": "development-environment",
"ssh_username": "root"
}
],
"provisioners": [
{
"type": "file",
"source": "../docker/scripts/bootstrap.sh",
"destination": "/bootstrap.sh"
},
{
"type": "shell",
"inline": [
"/bootstrap.sh"
]
}
]
}

View file

@ -21,7 +21,7 @@ resource "google_compute_instance" "desktop-environment" {
boot_disk {
initialize_params {
image = "ubuntu-minimal-1810"
image = "stemnapp/desktop-environment"
type = "pd-ssd"
size = "80"
}