Support site import by name/short ID

Fixes #91
This commit is contained in:
Paul Tyng
2021-03-07 14:09:38 -05:00
parent 74e7b8500a
commit 2f1537b9a8
4 changed files with 61 additions and 4 deletions

View File

@@ -1,2 +1,5 @@
# import using the ID
terraform import unifi_site.mysite 5fe6261995fe130013456a36
# import using the API/UI ID
terraform import unifi_site.mysite 5fe6261995fe130013456a36
# import using the name (short ID)
terraform import unifi_site.mysite vq98kwez