fourty2q- terraform pre installations from gitHUB using Dockerfile
368
This README would normally document whatever steps are necessary to get your application up and running.
Build and run a container instance locally using the image with standard Docker commands. For example:
docker pull biarca/terraform-gcp-github
docker run -it --name mycontainer biarca/terraform-gcp-github /bin/bash
IMPORTANT: The current codebase has been tested through version 0.9.8 of Terraform.
In the container clone gitHub code of terraform by running the command below and pass gitHub username and password when prompted.
git clone https://github.com/vedamsgit/fourty2q.git
Before running terraform scripts, connect to GCP using the following command.
gcloud auth login
It will prompt you to continue and a link is generated. Open the link in the browser and signup with emailID of the GCP. Auth key is generated and copy the code in the container for verification.
Generate ssh-key using the following command.
ssh-keygen -t rsa -f $HOME/.ssh/id_rsa -q -P ""
From the Cloned repository change directory to fourty2q/terraform_modules
Change the directory to ssl_keygen_combi
Edit the parameters in the Terraform variables file "terraform.tfvars" For description of each and every variable, check the file "variable.tf"
terraform get
terraform plan -out=terraform.plan
terraform apply terraform.plan
Change the directory to ../data_migration
Edit the parameters in the Terraform variables file "terraform.tfvars" For description of each and every variable, check the file "variable.tf"
terraform get
terraform plan -out=terraform.plan
terraform apply terraform.plan
Change the directory to ../gke_cluster
Edit the parameters in the Terraform variables file "terraform.tfvars" For description of each and every variable, check the file "variable.tf"
terraform get
terraform plan -out=terraform.plan
terraform apply terraform.plan
Change the directory to ../all_in_one_gce
Edit the parameters in the Terraform variables file "terraform.tfvars" For description of each and every variable, check the file "variable.tf"
terraform get
terraform plan -out=terraform.plan
terraform apply terraform.plan
Content type
Image
Digest
Size
185 MB
Last updated
over 9 years ago
docker pull biarca/terraform-gcp-github