• Terraform
• Kubernetes
• AWS
• Jenkins
• To automate the deployment of MediaWiki.
• Create a Jenkins pipeline job.
• Choose SCM as GIT.
• Provide the github URL(https://github.com/KrishnaMouli/assignment-thoughtworks.git) as Repository URL.
• Script path as Jenkinsfile.
• Run the Job.
• Once job deployed successfully endpoint url and db name will get printed in the job console output as shown below.
• Access the app by using that endpoint , configure db with the db name.
• For db authentication please provide username and password which are provided through terraform.tfvars file
Access the application.
After configuring DB.
Final result
