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

Terraform Enterprise Demo - GCP compute instance

Notifications You must be signed in to change notification settings

multicloud-iac/service-engagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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.