Complete CI/CD Jenkins Terraform Automation | Writing IAC and Groovy Scripts Realtime HandsOn

Опубликовано: 15 Март 2026
на канале: Mr. DevOps
4,746
166

#docker #kubernetes #ansible #git #linux #jenkins #dockerfile #k8's

📠📱If you want to book a call ( paid🔖 ) with me then you can refer below form 📃📑.
https://forms.gle/crK29DECv8jFwoge7

Please subscribe and follow the github link

steps :
1. create jenkins pipeline job
2. write a declaritive pipeline script
below is the script
pipeline {
agent any

stages {
stage ("checkout from GIT") {
steps {

}
}
stage ("terraform init") {
steps {
sh 'terraform init'
}
}
stage ("terraform fmt") {
steps {
sh 'terraform fmt'
}
}
stage ("terraform validate") {
steps {
sh 'terraform validate'
}
}
stage ("terrafrom plan") {
steps {
sh 'terraform plan '
}
}
stage ("terraform apply") {
steps {
sh 'terraform apply --auto-approve'
}
}
}
}

For jenkins installation:
----------------------------------------------------------------------------------
https://www.digitalocean.com/communit...

for docker installation
--------------------------------------------------------------------------------
https://www.digitalocean.com/communit...

▬▬▬▬▬▬ ▬▬▬▬▬▬ ▬▬▬▬▬▬ ▬▬▬▬▬▬
Full Terraform course
►    • Terraform explained - 01 | Terraform Tutor...  
Complete Real-time Docker Project
►    • End to End DevOps Project |  Github | Dock...  
Complete Real-time Kubernetes project
►    • Complete Real-time Deployment on Kubernete...  
Complete DevOps Project
►    • Complete CI/CD Project using jenkins - 01 ...  


▬▬▬▬▬▬ Connect with me ▬▬▬▬▬▬
INSTAGRAM
► https://bit.ly/3fPHLuz
LINKEDIN
► https://bit.ly/3FSLQbZ
FB
► https://bit.ly/3nRKYOB