Add site import to docs (#90)
* Add site import to docs * Add user_group import to docs
This commit is contained in:
@@ -28,4 +28,11 @@ resource "unifi_site" "mysite" {
|
||||
- **id** (String) The ID of the site.
|
||||
- **name** (String) The name of the site.
|
||||
|
||||
## Import
|
||||
|
||||
Import is supported using the following syntax:
|
||||
|
||||
```shell
|
||||
# import using the ID
|
||||
terraform import unifi_site.mysite 5fe6261995fe130013456a36
|
||||
```
|
||||
|
||||
@@ -36,4 +36,11 @@ resource "unifi_user_group" "wifi" {
|
||||
|
||||
- **id** (String) The ID of the user group.
|
||||
|
||||
## Import
|
||||
|
||||
Import is supported using the following syntax:
|
||||
|
||||
```shell
|
||||
# import using the ID
|
||||
terraform import unifi_user_group.wifi 5fe6261995fe130013456a36
|
||||
```
|
||||
|
||||
2
examples/resources/unifi_site/import.sh
Normal file
2
examples/resources/unifi_site/import.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
# import using the ID
|
||||
terraform import unifi_site.mysite 5fe6261995fe130013456a36
|
||||
2
examples/resources/unifi_user_group/import.sh
Normal file
2
examples/resources/unifi_user_group/import.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
# import using the ID
|
||||
terraform import unifi_user_group.wifi 5fe6261995fe130013456a36
|
||||
Reference in New Issue
Block a user