There was an error while loading. Please reload this page.
1 parent 496c6f7 commit 2346d1cCopy full SHA for 2346d1c
aws-instance-first-script/Jenkinsfile
@@ -33,8 +33,8 @@ pipeline {
33
stage('Plan') {
34
steps {
35
sh 'pwd;cd terraform/aws-instance-first-script ; terraform init -input=false'
36
- // sh 'terraform workspace new ${environment}'
37
- sh 'pwd;cd terraform/aws-instance-first-script ;terraform workspace select ${environment};pwd;ls'
+ sh 'terraform workspace new ${environment}'
+ sh 'pwd;cd terraform/aws-instance-first-script ; terraform workspace select ${environment};pwd;ls'
38
sh "pwd;cd terraform/aws-instance-first-script ;terraform plan -input=false -out tfplan ;pwd;ls"
39
sh 'pwd;cd terraform/aws-instance-first-script ;terraform show -no-color tfplan > tfplan.txt'
40
}
0 commit comments