forked from mirrors/terraform-provider-binarylane
21 lines
529 B
Terraform
21 lines
529 B
Terraform
terraform {
|
|
required_providers {
|
|
binarylane = {
|
|
source = "oscarhermoso/binarylane"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "binarylane" {
|
|
# api_token = "" # Recommend setting with environment variable BINARYLANE_API_TOKEN
|
|
}
|
|
|
|
resource "binarylane_server" "example" {
|
|
name = "tf-example"
|
|
region = "per" # or "syd", "mel", "bne", "sin"
|
|
image = "ubuntu-24.04"
|
|
size = "std-min" # 1 VPCU, 1 GB Memory, 20 GB NVME Storage, 1000 GB Data Transfer
|
|
|
|
# password will be generated automatically and mailed to the account holder
|
|
}
|