File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
aws-instance-first-script Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616 {
1717 git branch : ' tf-jenkins' , url : ' https://github.com/easyawslearn/Terraform-Tutorial.git'
1818 sh ' cd EC2withJenkins '
19- sh ' ./ terraform init -upgrade=true -get=true -input=false -force-copy'
20- sh ' ./ terraform workspace new "terraform-demo"'
19+ sh ' terraform init -upgrade=true -get=true -input=false -force-copy'
20+ sh ' terraform workspace new "terraform-demo"'
2121 sh ' echo "INFO: New terraform-demo workspace added."'
22- sh ' ./ terraform workspace select terraform-demo'
22+ sh ' terraform workspace select terraform-demo'
2323 sh ' echo "INFO: Terraform -> Planning..."'
24- sh ' ./ terraform plan -out plan_terraform -lock=true'
24+ sh ' terraform plan -out plan_terraform -lock=true'
2525 sh ' echo "INFO: Terraform -> Executing..."'
26- sh ' ./ terraform apply plan_plan_terraform'
26+ sh ' terraform apply plan_plan_terraform'
2727 }
2828 }
2929 }
You can’t perform that action at this time.
0 commit comments