unkin-agent 5978c20f99
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
Rewrite README as a fork overview with quick start
2026-11-16 23:13:13 +11:00
2024-08-12 18:07:23 +08:00
2025-04-25 09:10:20 +08:00
2024-09-01 08:17:56 +08:00

Terraform Provider for BinaryLane

A Terraform provider for managing BinaryLane cloud resources: servers, firewall rules, reverse DNS, SSH keys, VPCs and load balancers.

This is a fork of oscarhermoso/terraform-provider-binarylane. It tracks upstream and adds:

  • binarylane_server_reverse_name resource for managing IPv4 PTR records
  • destination_ports is optional on binarylane_server_firewall_rules, allowing rules for protocols such as ICMP
  • server action waits are bounded by a timeout instead of polling forever

Quick start

terraform {
  required_providers {
    binarylane = {
      source = "IUCLabs/binarylane"
    }
  }
}

provider "binarylane" {
  # Or set BINARYLANE_API_TOKEN
  api_token = var.binarylane_api_token
}

resource "binarylane_server" "example" {
  region            = "per"
  image             = "ubuntu-24.04"
  size              = "std-min"
  public_ipv4_count = 1
}

More complete configurations live in examples/.

Requirements

  • Terraform >= 1.0 (plugin protocol 6)
  • Go >= 1.25 to build the provider
  • A BinaryLane API token

Documentation

Provider and resource documentation is in docs/, in the Terraform Registry layout. Regenerate it with make docs after changing a schema.

Developing

make build   # build the provider binary
make test    # unit tests
make docs    # regenerate docs/

Acceptance tests run against the live BinaryLane API and need TF_ACC=1 and BINARYLANE_API_TOKEN. See CONTRIBUTING.md for local development overrides.

License

MIT, as inherited from upstream.

S
Description
Pull mirror of github.com/oscarhermoso/terraform-provider-binarylane, the Terraform provider for BinaryLane
Readme MIT 1.3 MiB
Languages
Go 92.1%
Shell 7.1%
Makefile 0.8%