Thanks so much for this provider!! I've been waiting for someone who can actually code this to make it happen, and was almost ready to give up and use another VPS provider.
Trying it out with an existing server resource via import, and it tries to update the public_ipv4_count which errors the API.
resource "binarylane_server" "uptime" {
name = "uptime"
region = "bne"
image = "ubuntu-22.04"
size = "std-min"
public_ipv4_count = 1
}
Run the import terraform import binarylane_server.uptime uptime
Plan shows
# binarylane_server.uptime will be updated in-place
~ resource "binarylane_server" "uptime" {
id = 355186
name = "uptime"
~ public_ipv4_addresses = [
"XX.XX.XX.XX",
+ null,
]
+ public_ipv4_count = 1
# (8 unchanged attributes hidden)
}
Attempting to apply this gives:
│ Received 400 Bad Request resizing server: server_id=355186. Details: {"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors
│ occurred","status":400,"errors":{"":["This would result in no effective size change."]},"message":"This would result in no effective size change."}
terraform state show binarylane_server.uptime doesn't show the public_ipv4_count in the state.
Thanks so much for this provider!! I've been waiting for someone who can actually code this to make it happen, and was almost ready to give up and use another VPS provider.
Trying it out with an existing server resource via import, and it tries to update the
public_ipv4_count
which errors the API.Run the import
terraform import binarylane_server.uptime uptime
Plan shows
Attempting to apply this gives:
terraform state show binarylane_server.uptime
doesn't show thepublic_ipv4_count
in the state.