terraform-provider-wireguard icon indicating copy to clipboard operation
terraform-provider-wireguard copied to clipboard

Add optional description field for peers

Open mathieu-lemay opened this issue 7 months ago • 1 comments

The description, if provided, will be added as a comment right under [Peer] in the config document. This can help identify at a glance all the peers when looking at the config once it is stored on the server.

mathieu-lemay avatar Apr 11 '25 02:04 mathieu-lemay

@OJFord Done! I would've prefered doing the split in the template, but Go's templating doesn't support that and I didn't want to bring in sprig as an additional dependency. I still think the solution is clean enough.

mathieu-lemay avatar Apr 11 '25 17:04 mathieu-lemay

Would it be possible to cut a new release that includes this PR? Thanks all.

jabed-anduril avatar Jun 27 '25 04:06 jabed-anduril

@jabed-anduril Yep, just had some other bits to include. It'll be in v0.4.0.

OJFord avatar Jun 27 '25 19:06 OJFord

I appreciate it - thanks @OJFord !

jabed-anduril avatar Jun 30 '25 23:06 jabed-anduril