Commit c34cdad1 authored by David Yu Yuan's avatar David Yu Yuan
Browse files

Updating Agenda-2020.rst.

parent 8a753011
......@@ -13,4 +13,5 @@ source ~/Downloads/ResOps-openrc.sh
terraform init "${DIR}/kubespray/contrib/terraform/openstack"
# Destroy a deployment. It is a good idea not to use auto-approval.
terraform destroy -lock=false
\ No newline at end of file
# -lock=false
terraform destroy
\ No newline at end of file
......@@ -14,9 +14,9 @@ source ~/Downloads/ResOps-openrc.sh
terraform init "${DIR}/kubespray/contrib/terraform/openstack"
# It is a good idea to create a plan first. The input values can be provided with var-files.
#
terraform plan -lock=false -var-file "${DIR}/resops.tf" -out "${DIR}/kubespray/out.plan" "${DIR}/kubespray/contrib/terraform/openstack"
# -lock=false
terraform plan -var-file "${DIR}/resops.tf" -out "${DIR}/kubespray/out.plan" "${DIR}/kubespray/contrib/terraform/openstack"
# Apply the changes planned explicitly. Terraform does not guarantee plan and apply generates the same plan. Thus, it is a good idea to provide an explicit plan and turn on the auto approval.
#
terraform apply -lock=false -auto-approve "${DIR}/kubespray/out.plan"
# -lock=false
terraform apply -auto-approve "${DIR}/kubespray/out.plan"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment