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

Ability to import a `wireguard_asymmetric_key` & `wireguard_preshared_key`

Open leonsmith opened this issue 3 years ago • 2 comments

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 avatar Jul 07 '22 12:07 leonsmith

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

leonsmith avatar Jul 07 '22 12:07 leonsmith

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

OJFord avatar Oct 05 '22 20:10 OJFord

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!

fllaca avatar Jun 16 '24 15:06 fllaca