|
4 years ago | |
---|---|---|
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
lpi.tf | 4 years ago | |
terraform.tfvars.example | 4 years ago | |
variables.tf | 4 years ago |
This is a teraform setup for my LPI Labs. The servers are deployed in Scaleway.
$ wget https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
$ unzip terraform_0.11.7_linux_amd64.zip
$ sudo cp terraform /usr/local/bin
$ git clone https://git.theo-andreou.org/Personal/lpi-deploy-scaleway.git
$ cd lpi-deploy-scaleway
organization = "11223344-1122-1122-1122-112233445566"
token = "99887766-9988-9988-9988-998877665544"
server_name = {
"debian" = "lpi-deb"
"centos" = "lpi-centos"
}
images = {
"debian" = "0f805370-5622-40df-af56-ac4fcf554b77"
"centos" = "d8c6f7b6-d1d1-47af-aa45-443989644b26"
}
$ terraform init
$ terraform plan -out lpi.plan
$ terraform apply "lpi.plan"