34 Commits

Author SHA1 Message Date
Oscar Hermoso 85f65c9391 👆 bump OpenAPI schema to v0.39.1, update dependencies (#137)
* 👆 bump OpenAPI schema to v0.39.1, update dependencies

* 📑 Update README with latest regions/sizes/images
2026-08-02 22:25:07 +08:00
Oscar Hermoso 77271b0efd ✂️ Add separate_private_network_interface to server resource & data source (#125) (#126)
* Initial plan

* Initial plan for separate_private_network_interface support

Agent-Logs-Url: https://github.com/oscarhermoso/terraform-provider-binarylane/sessions/df438ec9-fdbb-47a3-8ebb-592ee2843eed

* Add separate_private_network_interface to server resource and data source

Agent-Logs-Url: https://github.com/oscarhermoso/terraform-provider-binarylane/sessions/df438ec9-fdbb-47a3-8ebb-592ee2843eed

* Run go fmt and add AGENTS.md

Agent-Logs-Url: https://github.com/oscarhermoso/terraform-provider-binarylane/sessions/1f274b93-d7c2-4547-a24d-8d36472c8092

* Add source_and_destination_check assertion to data source test checks

Agent-Logs-Url: https://github.com/oscarhermoso/terraform-provider-binarylane/sessions/8684d505-33e7-407c-a4fb-c6260ffdb2ea

* go generate: update types_gen.go with latest API schema (Action.Reason, Action.Title, Invoice.InvoiceViewUrl)

Agent-Logs-Url: https://github.com/oscarhermoso/terraform-provider-binarylane/sessions/1baa947c-aaee-4c45-b2b8-9495ccf38b82

* Fix separate_private_network_interface: add ModifyPlan unknown handling and IsUnknown guard in Update

Agent-Logs-Url: https://github.com/oscarhermoso/terraform-provider-binarylane/sessions/e9b9d51d-8447-48a5-8c61-9c749562c3e1

* Simplify separate_private_network_interface description and remove dead code

Match the OpenAPI schema phrasing for consistency with other attribute
descriptions, and drop the defensive IsUnknown guard in Update — ModifyPlan
already resolves Unknown to Null/false before Update runs.

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-04-09 10:52:53 +08:00
Oscar Hermoso 14a275e06f 🎈 Update BinaryLane OpenAPI schema to v0.34.4 (#120) 2026-03-07 11:34:37 +08:00
Oscar Hermoso 9a58a8112c 👍 Support vpc_ipv4_address, bump BinaryLane OpenAPI schema to v0.34.0 (#114)
* 👍 Bump BinaryLane OpenAPI schema to v0.34.0

* 💄 Support change of IPv4 addresses
2026-02-08 16:58:30 +08:00
Oscar Hermoso 709fb3ce28 🍞 Fix load balancer caring about order of server_ids (#104) 2025-10-05 13:24:58 +08:00
Oscar Hermoso f8edcd0e06 Add tests, update docs, bump OpenAPI schema version 2025-09-29 09:48:25 +08:00
an9wer 04552e0fcf Add 'ipv6' attribute to servers 2025-09-28 12:53:15 +09:30
Oscar Hermoso 322a8fda80 👆 Update OpenAPI schema to 0.32.1 (#97) 2025-08-18 11:21:23 +08:00
Oscar Hermoso a50daac8e9 🧨 Fix unspecified attribute for load balancer (#93)
* 🧨 Fix unspecified attribute for load balancer

* remove duplicated `timeouts` in schema, test to ensure `ip` is set
2025-08-04 12:22:24 +08:00
Oscar Hermoso 4c50298eca ⛑️ require replacement if VPC ip_range changes (#89) 2025-07-20 09:44:53 +08:00
Oscar Hermoso 5767bb6739 🔑 Fix whitespace causing SSH key to be re-created (#86)
* 🔑 trim SSH key string with custom value
* 🔑 RequiresReplace plan modifier for TrimmedString
2025-07-18 13:55:07 +08:00
Oscar Hermoso 5e3b30a49b 🦋 fix server rename (#81) 2025-06-08 12:43:00 +08:00
Oscar Hermoso 24f05a6266 📡 "advanced feature" flags (#75)
* 📡 wip - advanced features

* 📡 wip 2 - advanced features

* 📡 wip 3 - advanced features

* 📡 wip 4 - advanced features

* 📡 fix advanced feature check, clean up example

* 👨‍✈️ copilot: remove duplicate "password

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-25 09:10:20 +08:00
Oscar Hermoso 11e0302e71 🛒 Create data sources for images, regions and sizes (#68)
* 📚 add descriptions to resources

* 📷 Create `images` data source, plus codegen for `sizes`, `regions`

* 🍩 Create offerings example

* 🧣 Create `regions` and `sizes` data sources
2025-02-28 17:21:18 +08:00
Oscar Hermoso 46117cf31d 👩‍⚕️ flesh out the docs, fix optional/required attrs (#59)
* 👨‍⚕️ Create docs

* 👩‍⚕️ self pr feedback

* 👩‍⚕️ more self pr feedback
2025-01-18 10:04:57 +08:00
Oscar Hermoso 394638ff57 🛂 Support updates to server password and port_blocking (#56) 2024-12-20 09:28:20 +08:00
Oscar Hermoso 7f5bae6b15 💾 allow customising server memory and disk (#52) 2024-12-08 17:09:54 +08:00
Oscar Hermoso 50d06b967b 🐣 source_and_destination_check for server resource (#48)
* 🐣 source_and_destination_check for server resource

* Ensure default values are handled correctly
2024-11-22 10:12:22 +08:00
Oscar Hermoso 2a6ba27340 🎛 Replace wait_for_create with timeouts, support resize & change ips (#41) 2024-11-10 13:38:29 +08:00
Oscar Hermoso 2c639837ef 💁 support updates for server resource - currently rename, or replace (#38) 2024-11-03 11:02:15 +08:00
Oscar Hermoso 200b2ee3a1 📠 Make public_ipv4_count a mandatory attribute on the server resource (#36) 2024-11-03 06:42:41 +08:00
Oscar Hermoso 1084c27ab6 🥢 import ssh key by fingerprint, make tests faster (#26)
* 🥢 import ssh key by fingerprint, make tests faster

* ⌚ Wait for load balancer creation
2024-10-04 10:14:23 +08:00
Oscar Hermoso 44772aa55d 🚛 load balancer resource (#17)
* 🚛 load balancer resource

* Fix whitespace in server resource
2024-09-16 15:55:01 +08:00
Oscar Hermoso 600e3f56e7 👆 update docs & data sources (#16) 2024-09-14 14:15:26 +08:00
Oscar Hermoso 6cafba5330 🚰 add SSH Keys attribute to servers (#9) 2024-08-31 11:48:43 +08:00
Oscar Hermoso 63632d3abb 🔨 Fix some resource attributes to be read only or required (#8) 2024-08-27 20:27:24 +08:00
Oscar Hermoso d5f45788b2 🚒 Create server_firewall_rules resource (#7) 2024-08-26 17:45:48 +08:00
Oscar Hermoso d0716f58af Add data source for VPC Route Entries, imports for VPC, fix update/tests (#6) 2024-08-25 12:47:14 +08:00
Oscar Hermoso 1f24f45af7 ☁️ Add VPC resource (#4)
* WIP commit - Adding VPC resource

* Tests passing for VPC resource

* Eject vpc_route_entries into its own resource so it can be applied later
2024-08-24 15:03:55 +08:00
Oscar Hermoso f73528497f ⏳ Wait for server creation with wait_for_create attribute (#2)
* Wait for cloud-init to complete

* Define `wait_for_create` attribute to make waiting for server opt-in
2024-08-19 11:46:18 +08:00
Oscar Hermoso f1b7b9853e Initialize VMs with user_data script, create cloud-init examples 2024-08-17 17:38:32 +08:00
Oscar Hermoso c8cbcd4f19 Fix data sources for servers, add tests (tests still WIP) 2024-08-17 14:55:19 +08:00
Oscar Hermoso f88bb2b1f6 Create ssh_key resource, ssh example 2024-08-16 17:38:04 +08:00
Oscar Hermoso 71ba12041e Create terraform provider, creates working server locally 2024-08-12 17:52:21 +08:00