- Please install the following component:
- You must also have a GCP account.
- Clone the repo:
git clone git clone https://github.com/chavo1/gcp-consul.git
cd gcp-consul.git/example
- Create terraform.tfvars file with needed variables and file with GCP credential (account.json) or just add a needed variables.
terraform init
terraform plan
terraform apply
terraform destroy