This stack builds quick Ubuntu 20.04 and Windows Server 2019 servers and basic networking infrastructure for each.
- Running tests requiring quick server configuration.
- Terraform >= 0.12.28
- AWS Provider >= 2.0
- Clone the repo onto your local workstation
- cd into quick-servers-linux-windows-gcp/server-linux or quick-servers-linux-windows-gcp/server-windows
- Add your desired variables to the server-linux/terraform.tfvars and server-windows/terraform.tfvars files
- CD into either the server-linux or server-windows directory to build a linux or windows server.
- 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
To view a list of resources that have been created
terraform state list