Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
update image info
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpeteuil committed Apr 16, 2019
1 parent 9d4ef55 commit 5002048
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Provision a compute instance in GCP

This Terraform configuration provisions a compute instance in Google Cloud Platform.

## Details
By default, this configuration provisions a compute instance from image debian-cloud/debian-8 with machine type t2.micro in the us-east1-b zone of the us-east1 region. But the image, type, zone, and region can all be set with variables.

By default, this configuration provisions a compute instance from the latest ubuntu-1804-lts image with machine type t2.micro in the us-east1-b zone of the us-east1 region. But the image_project, image_family, type, zone, and region can all be set with variables.

Note that you need to set provide your GCP credentials in the gcp_credentials variable.
5 changes: 0 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ variable "instance_name" {
default = "demo"
}

variable "image" {
description = "image to build instance from"
default = "debian-cloud/debian-9"
}

variable "image_family" {
description = "image family to build instance from"
default = "ubuntu-1804-lts"
Expand Down

0 comments on commit 5002048

Please sign in to comment.