Skip to content

Terraform stack for building a quick Linux and Windows server in Google Cloud

Notifications You must be signed in to change notification settings

avfaulkner/quick-servers-linux-windows-gcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quick Servers

This stack builds quick Ubuntu 20.04 and Windows Server 2019 servers and basic networking infrastructure for each.

Use case

  • Running tests requiring quick server configuration.

Requirements

Tooling

  • Terraform >= 0.12.28
  • AWS Provider >= 2.0

Usage

  1. Clone the repo onto your local workstation
  2. cd into quick-servers-linux-windows-gcp/server-linux or quick-servers-linux-windows-gcp/server-windows
  3. Add your desired variables to the server-linux/terraform.tfvars and server-windows/terraform.tfvars files
  4. CD into either the server-linux or server-windows directory to build a linux or windows server.
  5. Use the commands below to initialize the terraform code, plan and apply to build the infrastructure.

Initialize the environment

terraform init

Planning

terraform plan 

Apply

terraform apply 

Destroy

terraform destroy

Note

To view a list of resources that have been created

terraform state list

About

Terraform stack for building a quick Linux and Windows server in Google Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages