oscarhermoso / terraform-provider-binarylane

This is a Terraform provider for Binary Lane, for reliable & affordable Australian VPS hosting
https://registry.terraform.io/providers/oscarhermoso/binarylane/latest
MIT License
9 stars 0 forks source link

Implement "Source and Destination Checks" flag for servers #46

Closed timwsuqld closed 5 days ago

timwsuqld commented 6 days ago

https://api.binarylane.com.au/reference/#tag/ServerActions/paths/~1v2~1servers~1%7Bserver_id%7D~1actions#ChangeSourceAndDestinationCheck/post

Being able to change change_source_and_destination_check is important for setting up a VPN/NAT server in a VPC. While the default is enabled, it prevents you using the server as a VPN/NAT endpoint. Currently need to manually change this in the UI.

Thanks

oscarhermoso commented 5 days ago

Hi @timwsuqld,

The source_and_destination_check will be available on the server resource with v0.8.3 of the provider, which is releasing right now.

Very cool to see that you are using the VPC features. If you have the free time & skills, I would sincerely appreciate a PR contributing to the VPC example... it's not really usable at the moment.

https://github.com/oscarhermoso/terraform-provider-binarylane/blob/main/examples/vpc/main.tf