browningluke / terraform-provider-opnsense

OPNsense Terraform Provider
https://registry.terraform.io/providers/browningluke/opnsense/latest
MIT License
57 stars 12 forks source link

Fix Wireguard docs errors #35

Closed browningluke closed 1 year ago

browningluke commented 1 year ago

The current docs contain 2 errors:

  1. The examples for the client and server were switched
  2. The example code for generating a keypair was naive and used 2 random base64 strings

This PR switches the examples around, and uses a proper method to generate the keypair.