Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sysadm-provisioning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Infrastructure
sysadm-provisioning
Commits
4121f2d4
Verified
Commit
4121f2d4
authored
5 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
Docs: Clarify sentences
parent
50d0b3b8
No related branches found
Branches containing commit
No related tags found
1 merge request
!32
Docs: Update documentation to improve/clarify steps
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
proxmox/terraform/README.md
+11
-11
11 additions, 11 deletions
proxmox/terraform/README.md
proxmox/terraform/prepare-workstation.md
+1
-1
1 addition, 1 deletion
proxmox/terraform/prepare-workstation.md
with
12 additions
and
12 deletions
proxmox/terraform/README.md
+
11
−
11
View file @
4121f2d4
...
...
@@ -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):
...
...
This diff is collapsed.
Click to expand it.
proxmox/terraform/prepare-workstation.md
+
1
−
1
View file @
4121f2d4
...
...
@@ -14,7 +14,7 @@ make setup
make
make install
# Install so that terrafor actually sees the plugin
# Install so that terrafor
m
actually sees the plugin
mkdir -p ~/.terraform.d/plugins/linux_amd64
cp -v ./bin/* ~/.terraform.d/plugins/linux_amd64/
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment