OJFord / terraform-provider-wireguard

Terraform provider for WireGuard metadata
https://registry.terraform.io/providers/OJFord/wireguard/latest/docs
Mozilla Public License 2.0
17 stars 9 forks source link

Ability to import a `wireguard_asymmetric_key` & `wireguard_preshared_key` #11

Closed leonsmith closed 2 months ago

leonsmith commented 2 years ago

I know you can target apply & manually adjust the state file to achieve the same thing but it would be nice if you could import a pre-existing wireguard_asymmetric_key or wireguard_preshared_key

leonsmith commented 2 years ago

Might have a go at implementing it myself this week in my spare time 👍

OJFord commented 2 years ago

Thank you, yes, I've definitely intended to do this, PR more than welcome but no pressure, I will get to it otherwise.

fllaca commented 3 months ago

hi @leonsmith @OJFord ! I implemented this feature in https://github.com/OJFord/terraform-provider-wireguard/pull/38 , please have a look :pray: .

Thanks for this project!