Skip to content

Instantly share code, notes, and snippets.

@pravargauba

pravargauba/Plan

Created Apr 27, 2019
Embed
What would you like to do?
stage('Plan') {
steps {
sh 'terraform init [ -f terraform.tfstate ] && rm terraform.tfstate '
sh 'terraform plan –out=tfplan.txt '
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment