Skip to content
Snippets Groups Projects
Verified Commit 4121f2d4 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Docs: Clarify sentences

parent 50d0b3b8
No related branches found
No related tags found
1 merge request!32Docs: Update documentation to improve/clarify steps
......@@ -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):
......
......@@ -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/
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment