Welcome to my Test Project for Setting Up Infrastructure and Load Balancer as per the project scope of work defined below:
1] - Build via terraform a load balancer with three servers into different availability zones
2] - They must be secure in a vpc
The project is split into ./infrasructure and ./web_elb0 sections to clearly distinguish between infrastructure and resources within it.
To initialize my project, please ensure that
-
you created an S3 bucket: vg-devops-rs12345 within region = "eu-west-1"
-
cd into infrastructure/ folder and run terraform init
-
run there terraform apply
-
cd into web_elb0 folder and run terraform init
-
run there terraform apply
Note 1: you can play with variables, bucket names etc by changing these in the relevant files or pre-setting via <var="varname=value">
Note 2: Ensure that you exported your aws_secret_key and aws_secret_access_key to environmet or similar, to make them available for terraform to run