# 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.