Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

vmware-archive/paving-concourse

Repository files navigation

Pave GCP for Concourse

Description

This repository is derived from https://github.com/pivotal/paving

It's designed to create the infrastructure necessary to deploy Concourse for platform automation.

  • Only the GCP IaaS is concerned.
  • terraform resources needed for Concourse have been added
  • resources not necessary for Concourse have been removed

Assumptions

  • This repository was cloned to your workspace
  • terraform v0.12 is installed
  • A service account key with permissions necessary to create resources in your gcp project

Steps

  1. In GCP create a DNS zone for your subdomain

  2. Make a copy of terraform.tfvars.example; name the copy terraform.tfvars

  3. Edit terraform.tfvars and fill in these fields

    • an environment name of your choosing
    • the target GCP project id
    • the name of the hosted zone created above
    • and a JSON-encoded GCP service account key
  4. Initialize terraform

    terraform init
  5. Run terraform refresh to update the state with what currently exists in GCP

    terraform refresh -var-file terraform.tfvars
  6. Run terraform plan to see what changes will be made in the infrastructure

    terraform plan -out terraform.tfplan -var-file terraform.tfvars
  7. Run terraform apply to create the resources in the IaaS

    terraform apply -parallelism=5 terraform.tfplan

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages