mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Provision with Teraform instead of Ansible
This commit is contained in:
parent
3f36885343
commit
9e83baffb3
9 changed files with 147 additions and 60 deletions
34
terraform/README.md
Normal file
34
terraform/README.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
Terraform Scaleaway
|
||||
===================
|
||||
|
||||
```
|
||||
export SCALEWAY_TOKEN=<your-access-key>
|
||||
export SCALEWAY_ORGANIZATION=<your-organization-key>
|
||||
# terraform init
|
||||
# terraform plan
|
||||
# terraform apply
|
||||
# terraform show
|
||||
data.scaleway_image.ubuntu:
|
||||
id =
|
||||
architecture = x86_64
|
||||
creation_date = 2017-01-05T10:01:28.406069+00:00
|
||||
name = Ubuntu Xenial (16.04 latest)
|
||||
organization =
|
||||
public = true
|
||||
scaleway_server.server1:
|
||||
id =
|
||||
enable_ipv6 = false
|
||||
image =
|
||||
name = server1
|
||||
private_ip =
|
||||
public_ip =
|
||||
state = stopped
|
||||
state_detail =
|
||||
tags.# = 0
|
||||
type = VC1S
|
||||
volume.# = 1
|
||||
volume.0.size_in_gb = 50
|
||||
volume.0.type = l_ssd
|
||||
volume.0.volume_id =
|
||||
```
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue