From 4121f2d4de4a584db9475148a73ec0d096e55f7c Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" <antoine.romain.dumont@gmail.com> Date: Thu, 1 Aug 2019 12:07:04 +0200 Subject: [PATCH] Docs: Clarify sentences --- proxmox/terraform/README.md | 22 +++++++++++----------- proxmox/terraform/prepare-workstation.md | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/proxmox/terraform/README.md b/proxmox/terraform/README.md index df45125..01c606c 100644 --- a/proxmox/terraform/README.md +++ b/proxmox/terraform/README.md @@ -4,8 +4,6 @@ Terraform allows to transparently declare our infrastructure as code. Providing a (non-official so far) plugin, we can provision vm the same way for our rocq infra (proxmox) -# The road so far - ## Prepare workstation See prepare-workstation.md @@ -25,7 +23,7 @@ source it in your current shell session. source setup.sh ``` -## provision new vm +## provision infra ``` terraform init @@ -34,11 +32,14 @@ terraform apply # Details -The provisioning is bootstraping vm declared in ".tf" files. It's using a base -template (debian-9-template, debian-10-template) installed in the hypervisor. -Instructions are detailed in the `init-template.md` file. +The provisioning is bootstraping vms declared in ".tf" files (in dependency +order if any). + +It's using a base template (either debian-9-template, debian-10-template) +installed in the hypervisor. Instructions are detailed in the +`init-template.md` file. -# Init +## Init This initializes your local copy with the necessary: @@ -46,16 +47,15 @@ This initializes your local copy with the necessary: terraform init ``` -# Plan changes +## Plan changes -Compulse all *.tf files present in the folder, then compute a -differential plan: +Parse all *.tf files present in the folder, then compute a differential plan: ``` terraform plan ``` -# Apply changes +## Apply changes Propose to apply the plan to the infra (interactively): diff --git a/proxmox/terraform/prepare-workstation.md b/proxmox/terraform/prepare-workstation.md index 2355775..8f8e4f4 100644 --- a/proxmox/terraform/prepare-workstation.md +++ b/proxmox/terraform/prepare-workstation.md @@ -14,7 +14,7 @@ make setup make make install -# Install so that terrafor actually sees the plugin +# Install so that terraform actually sees the plugin mkdir -p ~/.terraform.d/plugins/linux_amd64 cp -v ./bin/* ~/.terraform.d/plugins/linux_amd64/ ``` -- GitLab