Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oscarhermoso/terraform-provider-binarylane
This is a Terraform provider for BinaryLane, for reliable & affordable Australian VPS hosting
https://github.com/oscarhermoso/terraform-provider-binarylane
binarylane opentofu terraform
Last synced: 27 days ago
JSON representation
This is a Terraform provider for BinaryLane, for reliable & affordable Australian VPS hosting
- Host: GitHub
- URL: https://github.com/oscarhermoso/terraform-provider-binarylane
- Owner: oscarhermoso
- License: mit
- Created: 2024-08-12T09:33:36.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-27T10:32:48.000Z (about 1 month ago)
- Last Synced: 2024-09-28T13:21:41.739Z (about 1 month ago)
- Topics: binarylane, opentofu, terraform
- Language: Go
- Homepage: https://registry.terraform.io/providers/oscarhermoso/binarylane/latest
- Size: 346 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-binarylane
See the examples in the [examples directory](./examples/README.md).
```terraform
resource "binarylane_server" "example" {
region = "per"
image = "ubuntu-24.04"
size = "std-min"
}
```## Progress
Planned features:
- [x] Servers
- [x] Firewall Rules
- [x] Cloud Init
- [ ] Updating server properties
- [ ] Backups
- [ ] Software
- [ ] IPV6
- [ ] Alerts
- [x] SSH Keys
- [x] Virtual Private Cloud
- [x] Load Balancers
- [ ] Images
- [ ] DNS
- [x] Docs
- [x] Generated docs
- [ ] Review & fill out remaining descriptions
- [ ] Include examples in docs
- [x] Examples
- [x] Basic
- [x] Cloud Init
- [ ] NixOS
- [ ] Virtual Private Cloud
- [ ] Kubernetes## Parameters
Images:
```sh
curl -X GET "https://api.binarylane.com.au/v2/images?type=distribution&&page=1&per_page=200" \
-H "Authorization: Bearer $BINARYLANE_API_TOKEN" > tmp/images.jsonjq '[ .images[] | .slug ] | sort' tmp/images.json
``````json
[
"alma-8",
"alma-9",
"byo-os",
"byo-os-virtio-disabled",
"cpanel-plus-whm",
"debian-11",
"debian-12",
"rocky-8",
"rocky-9",
"ubuntu-20.04-neon-desktop",
"ubuntu-20.04.6",
"ubuntu-22.04",
"ubuntu-22.04-desktop",
"ubuntu-24.04",
"windows-2012-r2",
"windows-2016",
"windows-2016-sql-2016-web",
"windows-2019",
"windows-2019-sql-2017-std",
"windows-2019-sql-2017-web",
"windows-2022",
"windows-2022-sql-2019-std",
"windows-2022-sql-2019-web"
]
```Regions:
```sh
curl -X GET "https://api.binarylane.com.au/v2/regions" \
-H "Authorization: Bearer $BINARYLANE_API_TOKEN" > tmp/regions.jsonjq '[ .regions[] | .slug ] | sort' tmp/regions.json
``````json
[
"bne",
"mel",
"per",
"sin",
"syd"
]
```### Sizes
VM size
```sh
curl -X GET "https://api.binarylane.com.au/v2/sizes" \
-H "Authorization: Bearer $BINARYLANE_API_TOKEN" > tmp/sizes.jsonjq '[ .sizes[] | .slug ] | sort' tmp/sizes.json
``````json
[
"cpu-2thr",
"cpu-4thr",
"cpu-6thr",
"cpu-8thr",
"ded-3900x-1600gb",
"ded-e2136-400gb",
"ded-e2136-800gb",
"ded-e2288g-400gb",
"ded-e2288g-800gb",
"hdd-1000gb",
"hdd-2000gb",
"hdd-500gb",
"std-1vcpu",
"std-2vcpu",
"std-4vcpu",
"std-6vcpu",
"std-8vcpu",
"std-min"
]
```