#PROJECT 19
From project 16 down to project 18, we have been working on the automation of our infrastruction to deploy the two websites we deployed in project 15. While we have successfully created our Infra, We could not access our website. This is because we are yet to configure our instances.
##AUTOMATE CONFIGURATION OF EC2 INSTANCE
Parker was used to build our desired Machine Image(AMI) and Ansible used to complete the configuration.
We also familiarised ourselfs with terraform cloud which took care of our remote state file. To configure Workspace on terraform cloud, I created a separate repo for terraform with the neccesary changes.
A noteable change in the new repo is renaming terraform.tfvars file to terraform.auto.tfvars to enable terraform cloud terraform variables automatically.
Secondly set your AWS access key and access secret as environment variables on terraform cloud to enable it have access to your AWS environment.