Skip to content

Commit

Permalink
update import documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tmunzer committed Aug 27, 2024
1 parent c0e254c commit 0797d0c
Show file tree
Hide file tree
Showing 33 changed files with 44 additions and 32 deletions.
2 changes: 1 addition & 1 deletion examples/resources/mist_device_gateway_cluster/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_device_gateway_cluster.cluster_one 17b46405-3a6d-4715-8bb4
```
In Terraform v1.5.0 and later, use an import block to import `mist_device_gateway_cluster` with `id`=`{org_id}.{cluster_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_device_gateway_cluster` with `id={org_id}.{cluster_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_device_switch/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_device_switch.switch_one 17b46405-3a6d-4715-8bb4-6bb6d06f3
```
In Terraform v1.5.0 and later, use an import block to import `mist_device_switch` with `id`=`{site_id}.{device_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_device_switch` with `id={site_id}.{device_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org.org_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a
```
In Terraform v1.5.0 and later, use an import block to import `mist_org` with `id`=`{org_id}` :
In Terraform v1.5.0 and later, use an import block to import `mist_org` with `id={org_id}` :
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_deviceprofile_ap/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_deviceprofile_ap.deviceprofile_one 17b46405-3a6d-4715-
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_deviceprofile_ap` with `id`=`{org_id}.{deviceprofile_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_deviceprofile_ap` with `id={org_id}.{deviceprofile_id}`:
```tf
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_deviceprofile_gateway.deviceprofile_one 17b46405-3a6d-
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_deviceprofile_gateway` with `id`=`{org_id}.{deviceprofile_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_deviceprofile_gateway` with `id={org_id}.{deviceprofile_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_gatewaytemplate/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_gatewaytemplate.gatewaytemplate_one 17b46405-3a6d-4715
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_gatewaytemplate` with `id`=`{org_id}.{gatewaytemplate_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_gatewaytemplate` with `id={org_id}.{gatewaytemplate_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_idpprofile/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_idpprofile.idpprofile_one 17b46405-3a6d-4715-8bb4-6bb6
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_idpprofile` with `id`=`{org_id}.{idpprofile_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_idpprofile` with `id={org_id}.{idpprofile_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_inventory/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_inventory.inventory_one 17b46405-3a6d-4715-8bb4-6bb6d0
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_inventory` with `id`=`{org_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_inventory` with `id={org_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_nacrule/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_nacrule.nacrule_one 17b46405-3a6d-4715-8bb4-6bb6d06f31
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_nacrule` with `id`=`{org_id}.{nacrule_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_nacrule` with `id={org_id}.{nacrule_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_nactag/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_nactag.nactag_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_nactag` with `id`=`{org_id}.{nactag_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_nactag` with `id={org_id}.{nactag_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_network/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_network.network_one 17b46405-3a6d-4715-8bb4-6bb6d06f31
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_network` with `id`=`{org_id}.{network_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_network` with `id={org_id}.{network_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_networktemplate/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_networktemplate.networktemplate_one 17b46405-3a6d-4715
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_networktemplate` with `id`=`{org_id}.{networktemplate_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_networktemplate` with `id={org_id}.{networktemplate_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_psk/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_psk.psk_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_psk` with `id`=`{org_id}.{psk_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_psk` with `id={org_id}.{psk_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_rftemplate/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_rftemplate.rftemplate_one 17b46405-3a6d-4715-8bb4-6bb6
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_rftemplate` with `id`=`{org_id}.{rftemplate_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_rftemplate` with `id={org_id}.{rftemplate_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_service/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_service.service_one 17b46405-3a6d-4715-8bb4-6bb6d06f31
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_service` with `id`=`{org_id}.{service_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_service` with `id={org_id}.{service_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_servicepolicy/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_servicepolicy.servicepolicy_one 17b46405-3a6d-4715-8bb
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_servicepolicy` with `id`=`{org_id}.{servicepolicy_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_servicepolicy` with `id={org_id}.{servicepolicy_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_setting/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_setting.setting_one 17b46405-3a6d-4715-8bb4-6bb6d06f31
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_setting` with `id`=`{org_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_setting` with `id={org_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_sitegroup/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_sitegroup.sitegroup_one 17b46405-3a6d-4715-8bb4-6bb6d0
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_sitegroup` with `id`=`{org_id}.{sitegroup_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_sitegroup` with `id={org_id}.{sitegroup_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_vpn/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_vpn.vpn_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_vpn` with `id`=`{org_id}.{vpn_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_vpn` with `id={org_id}.{vpn_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_webhook/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_webhook.webhook_one 17b46405-3a6d-4715-8bb4-6bb6d06f31
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_webhook` with `id`=`{org_id}.{webhook_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_webhook` with `id={org_id}.{webhook_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_wlan/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_wlan.wlan_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_wlan` with `id`=`{org_id}.{wlan_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_wlan` with `id={org_id}.{wlan_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_wlantemplate/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_wlantemplate.wlantemplate_one 17b46405-3a6d-4715-8bb4-
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_wlantemplate` with `id`=`{org_id}.{wlantemplate_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_wlantemplate` with `id={org_id}.{wlantemplate_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_wxrule/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_wxrule.wxrule_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_wxrule` with `id`=`{org_id}.{wxrule_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_wxrule` with `id={org_id}.{wxrule_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_org_wxtag/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_org_wxtag.wxtag_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d
```
In Terraform v1.5.0 and later, use an import block to import `mist_org_wxtag` with `id`=`{org_id}.{wxtag_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_org_wxtag` with `id={org_id}.{wxtag_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_site/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_site.site_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c4299
```
In Terraform v1.5.0 and later, use an import block to import `mist_site` with `id`=`{site_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_site` with `id={site_id}`:
```tf
import {
Expand Down
12 changes: 12 additions & 0 deletions examples/resources/mist_site_networktemplate/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Gateway cluster can be imported by specifying the site_id
terraform import mist_site_networktemplate.networktemplate_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a
```
In Terraform v1.5.0 and later, use an import block to import `mist_site_networktemplate` with `id={site_id}`:
```tf
import {
to = mist_site_networktemplate.networktemplate_one
id = "17b46405-3a6d-4715-8bb4-6bb6d06f316a"
}
2 changes: 1 addition & 1 deletion examples/resources/mist_site_networktemplate/resource.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

resource "mist_site_setting" "networktemplate_one" {
resource "mist_site_networktemplate" "networktemplate_one" {
site_id = mist_site.terraform_test.id
dns_servers = ["8.8.8.8", "1.1.1.1"]
dns_suffix = ["mycorp.com"]
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_site_psk/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_site_psk.psk_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c4
```
In Terraform v1.5.0 and later, use an import block to import `mist_site_psk` with `id`=`{site_id}.{psk_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_site_psk` with `id={site_id}.{psk_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_site_setting/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_site_setting.site_setting_one 17b46405-3a6d-4715-8bb4-6bb6
```
In Terraform v1.5.0 and later, use an import block to import `mist_site_setting` with `id`=`{site_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_site_setting` with `id={site_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_site_webhook/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_site_webhook.webhook_one 17b46405-3a6d-4715-8bb4-6bb6d06f3
```
In Terraform v1.5.0 and later, use an import block to import `mist_site_webhook` with `id`=`{site_id}.{webhook_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_site_webhook` with `id={site_id}.{webhook_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_site_wlan/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_site_wlan.wlan_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3
```
In Terraform v1.5.0 and later, use an import block to import `mist_site_wlan` with `id`=`{site_id}.{wlan_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_site_wlan` with `id={site_id}.{wlan_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_site_wxrule/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_site_wxrule.wxrule_one 17b46405-3a6d-4715-8bb4-6bb6d06f316
```
In Terraform v1.5.0 and later, use an import block to import `mist_site_wxrule` with `id`=`{site_id}.{wxrule_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_site_wxrule` with `id={site_id}.{wxrule_id}`:
```tf
import {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mist_site_wxtag/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform import mist_site_wxtag.wxtag_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.
```
In Terraform v1.5.0 and later, use an import block to import `mist_site_wxtag` with `id`=`{site_id}.{wxtag_id}`:
In Terraform v1.5.0 and later, use an import block to import `mist_site_wxtag` with `id={site_id}.{wxtag_id}`:
```tf
import {
Expand Down

0 comments on commit 0797d0c

Please sign in to comment.