From 8bd232a717152f4fc5bdb6986065cb852c4eb02c Mon Sep 17 00:00:00 2001 From: ranjithmuthalanghat <122509957+ranjithmuthalanghat@users.noreply.github.com> Date: Mon, 16 Jan 2023 21:56:15 +0400 Subject: [PATCH] Update README.md --- examples/high-available-web/README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/examples/high-available-web/README.md b/examples/high-available-web/README.md index 31548e44..38e4f597 100644 --- a/examples/high-available-web/README.md +++ b/examples/high-available-web/README.md @@ -1,8 +1,6 @@ # Terraform script for 3 Tier Application deployment on G42 Cloud This is a sample terraform script to automate following Infrastructure components on G42 Cloud to enable provisioning of 3-tier application - - VPC - - Subnet - Security Group - ECS - RDS @@ -10,14 +8,15 @@ This is a sample terraform script to automate following Infrastructure component - EIP The script contains 2 parts - Variable defintion: To define the varibles that will be used in the main terraform script - - Main.tf: This is the core script which automate the provising of above G42 CLoud Infra structure + - Main terraform script to automate the provisioning for each services How to run the script ? -1. Terraform installation - this can be done on local laptop or on an ECS -2. Copy the script to the terrafrom working directory -3. Initialize the working directory using the command "terraform init" -4. Verify the script using "terraform plan" -5. Deploy the Infra using "terraform apply" -6. To enable debug mode using the command "TF_LOG=DEBUG TF_LOG_PATH=./log terraform apply" +Install terraform from the link - https://developer.hashicorp.com/terraform/downloads +Copy the script to terraform working directory - https://github.com/g42cloud-terraform/terraform-provider-g42cloud/tree/main/examples/high-available-web +Initialize the working directory using the command "terraform init" +Verify the script using "terraform plan" +Deploy the Infra using "terraform apply" + +