Skip to content
suresh-subramanian2013 edited this page Feb 2, 2022 · 1 revision

Welcome to the ec2-creation-via-terraform wiki! Pre-requistes: Jenkins is up and running Terraform is installed in Jenkins

Step 1 - Create Terraform file for Ec2 creation in Github Terraform file - https://lnkd.in/gpFey5bT

Step 2 - Create IAM role with ec2 access

Step 3 - Attach IAM role to Jenkins EC2

Step 4 - Create Jenkins pipeline with parameters From Pipeline Syntax via add Github repo, give branch name and generate pipeline script then use in pipeline script Jenkins file - https://lnkd.in/gFvX-jg3

Step 5- Execute pipeline

Clone this wiki locally