24 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 f8edcd0e06 Add tests, update docs, bump OpenAPI schema version 2025-09-29 09:48:25 +08:00
Oscar Hermoso 322a8fda80 👆 Update OpenAPI schema to 0.32.1 (#97) 2025-08-18 11:21:23 +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 4ef9df6edf 🧁 allow update of server vpc_id without recreating resource, update api (#51) 2024-12-08 08:20:21 +08:00
Oscar Hermoso e6c50a470d 🔧 rebuild server when ssh_keys, image or user_data changes (#44) 2024-11-17 15:28:41 +08:00
Oscar Hermoso e18d2424d0 📼 ensure that load balancer always sets model state for health checks (#32) 2024-10-25 10:39:11 +08:00
Oscar Hermoso 6c3520bbda ⭕ Retry if Servers, SSH Keys, or Load Balancer creation returns 500 response (#29)
* ⭕ retry on failed create of server, load balancer, and SSH key

* 🧹 sweepers for test resources

* 🧹 sweepers, but now they're working
2024-10-13 08:48:12 +08:00
Oscar Hermoso e5450d9f27 🐒 Fix SSH key logging, types (#28)
* 🐒 Fix SSH key logging, import type

* 💱 Ignore comments in go generate git diff
2024-10-04 13:10:14 +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 d5f45788b2 🚒 Create server_firewall_rules resource (#7) 2024-08-26 17:45:48 +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 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