zerotier / terraform-provider-zerotier

Terraform provider for controlling ZeroTier Central
https://zerotier.com
BSD 3-Clause "New" or "Revised" License
68 stars 21 forks source link

feat: support importing network resource #21

Closed G-Rath closed 3 years ago

G-Rath commented 3 years ago

This allows importing zerotier_network resources using their IDs. I've tested it locally and was able to successfully import my network :)

erikh commented 3 years ago

Looks pretty straightforward. I'll want to write an automated test for this before merge, however.

laduke commented 3 years ago

Will this take care of the network's members too? I'm looking forward to this!

G-Rath commented 3 years ago

@laduke no it won't - this PR is solely for adding the ability to import networks, as that is doable using the standard ID importer.

@erikh what sort of test did you have in mind?

someara commented 3 years ago

I tested this manually... this is one of those "hard to reach" test cases =)

someara commented 3 years ago

released as v1.2.0