diff --git a/docs/data-sources/service_lan_vpn_feature_associate_multicast_feature.md b/docs/data-sources/service_lan_vpn_feature_associate_multicast_feature.md index eab3cf50..2b2f5710 100644 --- a/docs/data-sources/service_lan_vpn_feature_associate_multicast_feature.md +++ b/docs/data-sources/service_lan_vpn_feature_associate_multicast_feature.md @@ -32,3 +32,4 @@ data "sdwan_service_lan_vpn_feature_associate_multicast_feature" "example" { ### Read-Only - `service_multicast_feature_id` (String) Service Multicast Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_feature_associate_routing_bgp_feature.md b/docs/data-sources/service_lan_vpn_feature_associate_routing_bgp_feature.md index a3bc9a0c..b16fb83c 100644 --- a/docs/data-sources/service_lan_vpn_feature_associate_routing_bgp_feature.md +++ b/docs/data-sources/service_lan_vpn_feature_associate_routing_bgp_feature.md @@ -32,3 +32,4 @@ data "sdwan_service_lan_vpn_feature_associate_routing_bgp_feature" "example" { ### Read-Only - `service_routing_bgp_feature_id` (String) Service Routing BGP Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_feature_associate_routing_eigrp_feature.md b/docs/data-sources/service_lan_vpn_feature_associate_routing_eigrp_feature.md index 0391c150..f9ba158e 100644 --- a/docs/data-sources/service_lan_vpn_feature_associate_routing_eigrp_feature.md +++ b/docs/data-sources/service_lan_vpn_feature_associate_routing_eigrp_feature.md @@ -32,3 +32,4 @@ data "sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature" "example" { ### Read-Only - `service_routing_eigrp_feature_id` (String) Service Routing EIGRP Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_feature_associate_routing_ospf_feature.md b/docs/data-sources/service_lan_vpn_feature_associate_routing_ospf_feature.md index 1526c387..fa85cf28 100644 --- a/docs/data-sources/service_lan_vpn_feature_associate_routing_ospf_feature.md +++ b/docs/data-sources/service_lan_vpn_feature_associate_routing_ospf_feature.md @@ -32,3 +32,4 @@ data "sdwan_service_lan_vpn_feature_associate_routing_ospf_feature" "example" { ### Read-Only - `service_routing_ospf_feature_id` (String) Service Routing OSPF Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md b/docs/data-sources/service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md index 16b00743..9dd521f6 100644 --- a/docs/data-sources/service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md +++ b/docs/data-sources/service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md @@ -32,3 +32,4 @@ data "sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature" "exam ### Read-Only - `service_routing_ospfv3_ipv4_feature_id` (String) Service Routing OSPFv3 IPv4 Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md b/docs/data-sources/service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md index 08b724ad..3a2802a7 100644 --- a/docs/data-sources/service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md +++ b/docs/data-sources/service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md @@ -32,3 +32,4 @@ data "sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature" "exam ### Read-Only - `service_routing_ospfv3_ipv6_feature_id` (String) Service Routing OSPFv3 IPv6 Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.md b/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.md index ce98bae0..ac0f138a 100644 --- a/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.md +++ b/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.md @@ -34,3 +34,4 @@ data "sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_fea ### Read-Only - `service_dhcp_server_feature_id` (String) Service DHCP Server Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.md b/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.md index 20385c52..0bf70944 100644 --- a/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.md +++ b/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.md @@ -34,3 +34,4 @@ data "sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature ### Read-Only - `service_tracker_feature_id` (String) Service Tracker Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md b/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md index 9858fc42..07fb6fe0 100644 --- a/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md +++ b/docs/data-sources/service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md @@ -34,3 +34,4 @@ data "sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_f ### Read-Only - `service_tracker_group_feature_id` (String) Service Tracker Group Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.md b/docs/data-sources/service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.md index ef94f427..b2e0ad65 100644 --- a/docs/data-sources/service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.md +++ b/docs/data-sources/service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.md @@ -34,3 +34,4 @@ data "sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_featur ### Read-Only - `service_dhcp_server_feature_id` (String) Service DHCP Server Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.md b/docs/data-sources/service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.md index 870f67f2..77ec7fc1 100644 --- a/docs/data-sources/service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.md +++ b/docs/data-sources/service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.md @@ -34,3 +34,4 @@ data "sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature" ### Read-Only - `service_dhcp_server_feature_id` (String) Service DHCP Server Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_feature_associate_routing_bgp_feature.md b/docs/data-sources/transport_wan_vpn_feature_associate_routing_bgp_feature.md index b56d1883..b84483a2 100644 --- a/docs/data-sources/transport_wan_vpn_feature_associate_routing_bgp_feature.md +++ b/docs/data-sources/transport_wan_vpn_feature_associate_routing_bgp_feature.md @@ -32,3 +32,4 @@ data "sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature" "example" { ### Read-Only - `transport_routing_bgp_feature_id` (String) Transport Routing BGP Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospf_feature.md b/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospf_feature.md index 252669fb..5bf7f3bd 100644 --- a/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospf_feature.md +++ b/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospf_feature.md @@ -32,3 +32,4 @@ data "sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature" "example" ### Read-Only - `transport_routing_ospf_feature_id` (String) Transport Routing OSPF Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md b/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md index 47e0c96f..3cecac5a 100644 --- a/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md +++ b/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md @@ -32,3 +32,4 @@ data "sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature" "ex ### Read-Only - `transport_routing_ospfv3_ipv4_feature_id` (String) Transport Routing OSPFv4 IPv4 Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md b/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md index 79de776e..26852364 100644 --- a/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md +++ b/docs/data-sources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md @@ -32,3 +32,4 @@ data "sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature" "ex ### Read-Only - `transport_routing_ospfv3_ipv6_feature_id` (String) Transport Routing OSPFv4 IPv6 Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.md b/docs/data-sources/transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.md index 5f56384f..7b404426 100644 --- a/docs/data-sources/transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.md +++ b/docs/data-sources/transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.md @@ -34,3 +34,4 @@ data "sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_featu ### Read-Only - `transport_tracker_feature_id` (String) Transport Tracker Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.md b/docs/data-sources/transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.md index a7c16087..02b315fc 100644 --- a/docs/data-sources/transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.md +++ b/docs/data-sources/transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.md @@ -34,3 +34,4 @@ data "sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group ### Read-Only - `transport_tracker_group_feature_id` (String) Transport Tracker Group Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.md b/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.md index 5a0b572a..cf1e3e55 100644 --- a/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.md +++ b/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.md @@ -34,3 +34,4 @@ data "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_ ### Read-Only - `transport_ipv6_tracker_feature_id` (String) Transport IPv6 Tracker Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.md b/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.md index 34b593c3..8341aaaa 100644 --- a/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.md +++ b/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.md @@ -34,3 +34,4 @@ data "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_ ### Read-Only - `transport_ipv6_tracker_group_feature_id` (String) Transport IPv6 Tracker Group Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.md b/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.md index 1e997d1f..4f96151e 100644 --- a/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.md +++ b/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.md @@ -34,3 +34,4 @@ data "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_featu ### Read-Only - `transport_tracker_feature_id` (String) Transport Tracker Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md b/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md index cf9bedfd..d6555003 100644 --- a/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md +++ b/docs/data-sources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md @@ -34,3 +34,4 @@ data "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group ### Read-Only - `transport_tracker_group_feature_id` (String) Transport Tracker Group Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_interface_gre_feature_associate_tracker_feature.md b/docs/data-sources/transport_wan_vpn_interface_gre_feature_associate_tracker_feature.md index 1605b792..17a9ef97 100644 --- a/docs/data-sources/transport_wan_vpn_interface_gre_feature_associate_tracker_feature.md +++ b/docs/data-sources/transport_wan_vpn_interface_gre_feature_associate_tracker_feature.md @@ -34,3 +34,4 @@ data "sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature" " ### Read-Only - `transport_tracker_feature_id` (String) Transport Tracker Feature ID +- `version` (Number) The version of the object diff --git a/docs/data-sources/transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.md b/docs/data-sources/transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.md index 83cc17fd..7a4eb74b 100644 --- a/docs/data-sources/transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.md +++ b/docs/data-sources/transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.md @@ -34,3 +34,4 @@ data "sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature" ### Read-Only - `transport_tracker_feature_id` (String) Transport Tracker Feature ID +- `version` (Number) The version of the object diff --git a/docs/resources/cli_config_feature.md b/docs/resources/cli_config_feature.md index 99813d89..4f70dec8 100644 --- a/docs/resources/cli_config_feature.md +++ b/docs/resources/cli_config_feature.md @@ -43,5 +43,6 @@ resource "sdwan_cli_config_feature" "example" { Import is supported using the following syntax: ```shell -terraform import sdwan_cli_config_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "cli_config_feature_id,feature_profile_id" +terraform import sdwan_cli_config_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" ``` diff --git a/docs/resources/service_lan_vpn_feature_associate_multicast_feature.md b/docs/resources/service_lan_vpn_feature_associate_multicast_feature.md index 6a259fa0..c30a8e63 100644 --- a/docs/resources/service_lan_vpn_feature_associate_multicast_feature.md +++ b/docs/resources/service_lan_vpn_feature_associate_multicast_feature.md @@ -34,11 +34,13 @@ resource "sdwan_service_lan_vpn_feature_associate_multicast_feature" "example" { ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_feature_associate_multicast_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_multicast_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_multicast_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_feature_associate_routing_bgp_feature.md b/docs/resources/service_lan_vpn_feature_associate_routing_bgp_feature.md index a37cdb01..173cfa01 100644 --- a/docs/resources/service_lan_vpn_feature_associate_routing_bgp_feature.md +++ b/docs/resources/service_lan_vpn_feature_associate_routing_bgp_feature.md @@ -34,11 +34,13 @@ resource "sdwan_service_lan_vpn_feature_associate_routing_bgp_feature" "example" ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_bgp_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_feature_associate_routing_eigrp_feature.md b/docs/resources/service_lan_vpn_feature_associate_routing_eigrp_feature.md index 4d7c0930..b8c5e152 100644 --- a/docs/resources/service_lan_vpn_feature_associate_routing_eigrp_feature.md +++ b/docs/resources/service_lan_vpn_feature_associate_routing_eigrp_feature.md @@ -34,11 +34,13 @@ resource "sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature" "exampl ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_eigrp_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_feature_associate_routing_ospf_feature.md b/docs/resources/service_lan_vpn_feature_associate_routing_ospf_feature.md index 16ee03fd..7f24f4ec 100644 --- a/docs/resources/service_lan_vpn_feature_associate_routing_ospf_feature.md +++ b/docs/resources/service_lan_vpn_feature_associate_routing_ospf_feature.md @@ -34,11 +34,13 @@ resource "sdwan_service_lan_vpn_feature_associate_routing_ospf_feature" "example ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_ospf_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md b/docs/resources/service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md index d326f464..d71be015 100644 --- a/docs/resources/service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md +++ b/docs/resources/service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md @@ -34,11 +34,13 @@ resource "sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature" " ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md b/docs/resources/service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md index 59e92ceb..db9dfde9 100644 --- a/docs/resources/service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md +++ b/docs/resources/service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md @@ -34,11 +34,13 @@ resource "sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature" " ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.md b/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.md index b904d5eb..46cbefc2 100644 --- a/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.md +++ b/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.md @@ -36,11 +36,13 @@ resource "sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_ethernet_feature_id" +terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.md b/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.md index 5f28ddf4..c8b5ebc7 100644 --- a/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.md +++ b/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.md @@ -36,11 +36,13 @@ resource "sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_fea ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_ethernet_feature_associate_tracker_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_ethernet_feature_id" +terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md b/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md index 243ed04b..79bafdbf 100644 --- a/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md +++ b/docs/resources/service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md @@ -36,11 +36,13 @@ resource "sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_gro ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_ethernet_feature_id" +terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.md b/docs/resources/service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.md index 5419f5ab..565a1804 100644 --- a/docs/resources/service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.md +++ b/docs/resources/service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.md @@ -36,11 +36,13 @@ resource "sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_fe ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_ipsec_feature_id" +terraform import sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.md b/docs/resources/service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.md index 369ff64f..d62d46b4 100644 --- a/docs/resources/service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.md +++ b/docs/resources/service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.md @@ -36,11 +36,13 @@ resource "sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feat ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_svi_feature_id" +terraform import sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_feature_associate_routing_bgp_feature.md b/docs/resources/transport_wan_vpn_feature_associate_routing_bgp_feature.md index b37121d7..7c95f23d 100644 --- a/docs/resources/transport_wan_vpn_feature_associate_routing_bgp_feature.md +++ b/docs/resources/transport_wan_vpn_feature_associate_routing_bgp_feature.md @@ -34,11 +34,13 @@ resource "sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature" "exampl ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_feature_associate_routing_bgp_feature_id,feature_profile_id,transport_wan_vpn_feature_id" +terraform import sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_feature_associate_routing_ospf_feature.md b/docs/resources/transport_wan_vpn_feature_associate_routing_ospf_feature.md index 6c0a441c..1845ecfb 100644 --- a/docs/resources/transport_wan_vpn_feature_associate_routing_ospf_feature.md +++ b/docs/resources/transport_wan_vpn_feature_associate_routing_ospf_feature.md @@ -34,11 +34,13 @@ resource "sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature" "examp ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_feature_associate_routing_ospf_feature_id,feature_profile_id,transport_wan_vpn_feature_id" +terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md b/docs/resources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md index c50fcf20..f00563eb 100644 --- a/docs/resources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md +++ b/docs/resources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.md @@ -34,11 +34,13 @@ resource "sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature" ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature_id,feature_profile_id,transport_wan_vpn_feature_id" +terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md b/docs/resources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md index 5245cae8..e67b9ac6 100644 --- a/docs/resources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md +++ b/docs/resources/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.md @@ -34,11 +34,13 @@ resource "sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature" ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature_id,feature_profile_id,transport_wan_vpn_feature_id" +terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.md b/docs/resources/transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.md index 03c96c53..879a37fd 100644 --- a/docs/resources/transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.md +++ b/docs/resources/transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.md @@ -36,11 +36,13 @@ resource "sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_f ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_cellular_feature_associate_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_cellular_feature_id" +terraform import sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.md b/docs/resources/transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.md index b76a9ad6..38c44eb7 100644 --- a/docs/resources/transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.md +++ b/docs/resources/transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.md @@ -36,11 +36,13 @@ resource "sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_g ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_cellular_feature_id" +terraform import sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.md b/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.md index 99215de7..3ab1a6a9 100644 --- a/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.md +++ b/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.md @@ -36,11 +36,13 @@ resource "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_trac ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ethernet_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.md b/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.md index a9957c3c..6c1ea224 100644 --- a/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.md +++ b/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.md @@ -36,11 +36,13 @@ resource "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_trac ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ethernet_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.md b/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.md index 6ffefab1..d8cce9b2 100644 --- a/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.md +++ b/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.md @@ -36,11 +36,13 @@ resource "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_f ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ethernet_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md b/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md index 545fc27e..ae04acae 100644 --- a/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md +++ b/docs/resources/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.md @@ -36,11 +36,13 @@ resource "sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_g ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ethernet_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_interface_gre_feature_associate_tracker_feature.md b/docs/resources/transport_wan_vpn_interface_gre_feature_associate_tracker_feature.md index b565cc6c..03253ee1 100644 --- a/docs/resources/transport_wan_vpn_interface_gre_feature_associate_tracker_feature.md +++ b/docs/resources/transport_wan_vpn_interface_gre_feature_associate_tracker_feature.md @@ -36,11 +36,13 @@ resource "sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_featur ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_gre_feature_associate_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_gre_feature_id" +terraform import sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/docs/resources/transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.md b/docs/resources/transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.md index bb0473c8..56168b81 100644 --- a/docs/resources/transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.md +++ b/docs/resources/transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.md @@ -36,11 +36,13 @@ resource "sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feat ### Read-Only - `id` (String) The id of the object +- `version` (Number) The version of the object ## Import Import is supported using the following syntax: ```shell -terraform import sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ipsec_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" ``` diff --git a/examples/resources/sdwan_application_priority_qos_policy/import.sh b/examples/resources/sdwan_application_priority_qos_policy/import.sh index 6a218649..dc719b58 100644 --- a/examples/resources/sdwan_application_priority_qos_policy/import.sh +++ b/examples/resources/sdwan_application_priority_qos_policy/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "application_priority_qos_policy_id,feature_profile_id" terraform import sdwan_application_priority_qos_policy.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_application_priority_traffic_policy_policy/import.sh b/examples/resources/sdwan_application_priority_traffic_policy_policy/import.sh index 4207dd1e..4b8e01de 100644 --- a/examples/resources/sdwan_application_priority_traffic_policy_policy/import.sh +++ b/examples/resources/sdwan_application_priority_traffic_policy_policy/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "application_priority_traffic_policy_policy_id,feature_profile_id" terraform import sdwan_application_priority_traffic_policy_policy.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_cli_config_feature/import.sh b/examples/resources/sdwan_cli_config_feature/import.sh index 154ad7d5..e9980a2e 100644 --- a/examples/resources/sdwan_cli_config_feature/import.sh +++ b/examples/resources/sdwan_cli_config_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_cli_config_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "cli_config_feature_id,feature_profile_id" +terraform import sdwan_cli_config_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_other_thousandeyes_feature/import.sh b/examples/resources/sdwan_other_thousandeyes_feature/import.sh index 0fd04682..d8231fbd 100644 --- a/examples/resources/sdwan_other_thousandeyes_feature/import.sh +++ b/examples/resources/sdwan_other_thousandeyes_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "other_thousandeyes_feature_id,feature_profile_id" terraform import sdwan_other_thousandeyes_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_other_ucse_feature/import.sh b/examples/resources/sdwan_other_ucse_feature/import.sh index 80486729..53259789 100644 --- a/examples/resources/sdwan_other_ucse_feature/import.sh +++ b/examples/resources/sdwan_other_ucse_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "other_ucse_feature_id,feature_profile_id" terraform import sdwan_other_ucse_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_app_probe_class/import.sh b/examples/resources/sdwan_policy_object_app_probe_class/import.sh index 6bcf4fe4..540b467e 100644 --- a/examples/resources/sdwan_policy_object_app_probe_class/import.sh +++ b/examples/resources/sdwan_policy_object_app_probe_class/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_app_probe_class_id,feature_profile_id" terraform import sdwan_policy_object_app_probe_class.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_application_list/import.sh b/examples/resources/sdwan_policy_object_application_list/import.sh index bdddd892..b5d616ce 100644 --- a/examples/resources/sdwan_policy_object_application_list/import.sh +++ b/examples/resources/sdwan_policy_object_application_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_application_list_id,feature_profile_id" terraform import sdwan_policy_object_application_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_as_path_list/import.sh b/examples/resources/sdwan_policy_object_as_path_list/import.sh index 05e9d5f9..e6920d5d 100644 --- a/examples/resources/sdwan_policy_object_as_path_list/import.sh +++ b/examples/resources/sdwan_policy_object_as_path_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_as_path_list_id,feature_profile_id" terraform import sdwan_policy_object_as_path_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_class_map/import.sh b/examples/resources/sdwan_policy_object_class_map/import.sh index a8c426d9..9671fcff 100644 --- a/examples/resources/sdwan_policy_object_class_map/import.sh +++ b/examples/resources/sdwan_policy_object_class_map/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_class_map_id,feature_profile_id" terraform import sdwan_policy_object_class_map.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_color_list/import.sh b/examples/resources/sdwan_policy_object_color_list/import.sh index 7cfd76e5..2ed33dc2 100644 --- a/examples/resources/sdwan_policy_object_color_list/import.sh +++ b/examples/resources/sdwan_policy_object_color_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_color_list_id,feature_profile_id" terraform import sdwan_policy_object_color_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_data_ipv4_prefix_list/import.sh b/examples/resources/sdwan_policy_object_data_ipv4_prefix_list/import.sh index b45020db..74eeb6bf 100644 --- a/examples/resources/sdwan_policy_object_data_ipv4_prefix_list/import.sh +++ b/examples/resources/sdwan_policy_object_data_ipv4_prefix_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_data_ipv4_prefix_list_id,feature_profile_id" terraform import sdwan_policy_object_data_ipv4_prefix_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_data_ipv6_prefix_list/import.sh b/examples/resources/sdwan_policy_object_data_ipv6_prefix_list/import.sh index 14e62bb6..25cb1d91 100644 --- a/examples/resources/sdwan_policy_object_data_ipv6_prefix_list/import.sh +++ b/examples/resources/sdwan_policy_object_data_ipv6_prefix_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_data_ipv6_prefix_list_id,feature_profile_id" terraform import sdwan_policy_object_data_ipv6_prefix_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_expanded_community_list/import.sh b/examples/resources/sdwan_policy_object_expanded_community_list/import.sh index 14029977..a243598f 100644 --- a/examples/resources/sdwan_policy_object_expanded_community_list/import.sh +++ b/examples/resources/sdwan_policy_object_expanded_community_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_expanded_community_list_id,feature_profile_id" terraform import sdwan_policy_object_expanded_community_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_extended_community_list/import.sh b/examples/resources/sdwan_policy_object_extended_community_list/import.sh index 24dc1b7f..be879683 100644 --- a/examples/resources/sdwan_policy_object_extended_community_list/import.sh +++ b/examples/resources/sdwan_policy_object_extended_community_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_extended_community_list_id,feature_profile_id" terraform import sdwan_policy_object_extended_community_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_ipv4_prefix_list/import.sh b/examples/resources/sdwan_policy_object_ipv4_prefix_list/import.sh index 4c5911a0..232a60d3 100644 --- a/examples/resources/sdwan_policy_object_ipv4_prefix_list/import.sh +++ b/examples/resources/sdwan_policy_object_ipv4_prefix_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_ipv4_prefix_list_id,feature_profile_id" terraform import sdwan_policy_object_ipv4_prefix_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_ipv6_prefix_list/import.sh b/examples/resources/sdwan_policy_object_ipv6_prefix_list/import.sh index 5898c41f..88dee700 100644 --- a/examples/resources/sdwan_policy_object_ipv6_prefix_list/import.sh +++ b/examples/resources/sdwan_policy_object_ipv6_prefix_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_ipv6_prefix_list_id,feature_profile_id" terraform import sdwan_policy_object_ipv6_prefix_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_mirror/import.sh b/examples/resources/sdwan_policy_object_mirror/import.sh index f6143026..c5577e15 100644 --- a/examples/resources/sdwan_policy_object_mirror/import.sh +++ b/examples/resources/sdwan_policy_object_mirror/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_mirror_id,feature_profile_id" terraform import sdwan_policy_object_mirror.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_policer/import.sh b/examples/resources/sdwan_policy_object_policer/import.sh index 813ffc60..f3e4d755 100644 --- a/examples/resources/sdwan_policy_object_policer/import.sh +++ b/examples/resources/sdwan_policy_object_policer/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_policer_id,feature_profile_id" terraform import sdwan_policy_object_policer.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_preferred_color_group/import.sh b/examples/resources/sdwan_policy_object_preferred_color_group/import.sh index d274ff28..1631052b 100644 --- a/examples/resources/sdwan_policy_object_preferred_color_group/import.sh +++ b/examples/resources/sdwan_policy_object_preferred_color_group/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_preferred_color_group_id,feature_profile_id" terraform import sdwan_policy_object_preferred_color_group.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_data_ipv4_prefix_list/import.sh b/examples/resources/sdwan_policy_object_security_data_ipv4_prefix_list/import.sh index 1c273db3..b7bbe2ee 100644 --- a/examples/resources/sdwan_policy_object_security_data_ipv4_prefix_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_data_ipv4_prefix_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_data_ipv4_prefix_list_id,feature_profile_id" terraform import sdwan_policy_object_security_data_ipv4_prefix_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_fqdn_list/import.sh b/examples/resources/sdwan_policy_object_security_fqdn_list/import.sh index 5fdd8a32..1a089c87 100644 --- a/examples/resources/sdwan_policy_object_security_fqdn_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_fqdn_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_fqdn_list_id,feature_profile_id" terraform import sdwan_policy_object_security_fqdn_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_geolocation_list/import.sh b/examples/resources/sdwan_policy_object_security_geolocation_list/import.sh index e91a9b6c..22cdc426 100644 --- a/examples/resources/sdwan_policy_object_security_geolocation_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_geolocation_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_geolocation_list_id,feature_profile_id" terraform import sdwan_policy_object_security_geolocation_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_identity_list/import.sh b/examples/resources/sdwan_policy_object_security_identity_list/import.sh index 33545053..d4133af5 100644 --- a/examples/resources/sdwan_policy_object_security_identity_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_identity_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_identity_list_id,feature_profile_id" terraform import sdwan_policy_object_security_identity_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_ips_signature/import.sh b/examples/resources/sdwan_policy_object_security_ips_signature/import.sh index d8db371e..18408fad 100644 --- a/examples/resources/sdwan_policy_object_security_ips_signature/import.sh +++ b/examples/resources/sdwan_policy_object_security_ips_signature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_ips_signature_id,feature_profile_id" terraform import sdwan_policy_object_security_ips_signature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_local_application_list/import.sh b/examples/resources/sdwan_policy_object_security_local_application_list/import.sh index cd93fe19..e450ada0 100644 --- a/examples/resources/sdwan_policy_object_security_local_application_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_local_application_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_local_application_list_id,feature_profile_id" terraform import sdwan_policy_object_security_local_application_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_local_domain_list/import.sh b/examples/resources/sdwan_policy_object_security_local_domain_list/import.sh index 63000a1d..912e4f74 100644 --- a/examples/resources/sdwan_policy_object_security_local_domain_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_local_domain_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_local_domain_list_id,feature_profile_id" terraform import sdwan_policy_object_security_local_domain_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_port_list/import.sh b/examples/resources/sdwan_policy_object_security_port_list/import.sh index 832b46a6..2112a40b 100644 --- a/examples/resources/sdwan_policy_object_security_port_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_port_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_port_list_id,feature_profile_id" terraform import sdwan_policy_object_security_port_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_scalable_group_tag_list/import.sh b/examples/resources/sdwan_policy_object_security_scalable_group_tag_list/import.sh index 03db9acf..8d7df7c9 100644 --- a/examples/resources/sdwan_policy_object_security_scalable_group_tag_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_scalable_group_tag_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_scalable_group_tag_list_id,feature_profile_id" terraform import sdwan_policy_object_security_scalable_group_tag_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd," diff --git a/examples/resources/sdwan_policy_object_security_url_allow_list/import.sh b/examples/resources/sdwan_policy_object_security_url_allow_list/import.sh index 8528a346..18a369fb 100644 --- a/examples/resources/sdwan_policy_object_security_url_allow_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_url_allow_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_url_allow_list_id,feature_profile_id" terraform import sdwan_policy_object_security_url_allow_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_security_url_block_list/import.sh b/examples/resources/sdwan_policy_object_security_url_block_list/import.sh index d94f460e..6a3a682b 100644 --- a/examples/resources/sdwan_policy_object_security_url_block_list/import.sh +++ b/examples/resources/sdwan_policy_object_security_url_block_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_security_url_block_list_id,feature_profile_id" terraform import sdwan_policy_object_security_url_block_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_sla_class_list/import.sh b/examples/resources/sdwan_policy_object_sla_class_list/import.sh index a5d3cc58..938156d9 100644 --- a/examples/resources/sdwan_policy_object_sla_class_list/import.sh +++ b/examples/resources/sdwan_policy_object_sla_class_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_sla_class_list_id,feature_profile_id" terraform import sdwan_policy_object_sla_class_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_standard_community_list/import.sh b/examples/resources/sdwan_policy_object_standard_community_list/import.sh index 6d9e8ab0..51834bff 100644 --- a/examples/resources/sdwan_policy_object_standard_community_list/import.sh +++ b/examples/resources/sdwan_policy_object_standard_community_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_standard_community_list_id,feature_profile_id" terraform import sdwan_policy_object_standard_community_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_tloc_list/import.sh b/examples/resources/sdwan_policy_object_tloc_list/import.sh index 13568db3..b28850d4 100644 --- a/examples/resources/sdwan_policy_object_tloc_list/import.sh +++ b/examples/resources/sdwan_policy_object_tloc_list/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_tloc_list_id,feature_profile_id" terraform import sdwan_policy_object_tloc_list.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_policy_object_vpn_group/import.sh b/examples/resources/sdwan_policy_object_vpn_group/import.sh index 745f8c2a..6bb2725e 100644 --- a/examples/resources/sdwan_policy_object_vpn_group/import.sh +++ b/examples/resources/sdwan_policy_object_vpn_group/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "policy_object_vpn_group_id,feature_profile_id" terraform import sdwan_policy_object_vpn_group.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_dhcp_server_feature/import.sh b/examples/resources/sdwan_service_dhcp_server_feature/import.sh index ae489a29..2abac70f 100644 --- a/examples/resources/sdwan_service_dhcp_server_feature/import.sh +++ b/examples/resources/sdwan_service_dhcp_server_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_dhcp_server_feature_id,feature_profile_id" terraform import sdwan_service_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_ipv4_acl_feature/import.sh b/examples/resources/sdwan_service_ipv4_acl_feature/import.sh index 3d7873f1..c3821876 100644 --- a/examples/resources/sdwan_service_ipv4_acl_feature/import.sh +++ b/examples/resources/sdwan_service_ipv4_acl_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_ipv4_acl_feature_id,feature_profile_id" terraform import sdwan_service_ipv4_acl_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_ipv6_acl_feature/import.sh b/examples/resources/sdwan_service_ipv6_acl_feature/import.sh index 14197a71..b345525f 100644 --- a/examples/resources/sdwan_service_ipv6_acl_feature/import.sh +++ b/examples/resources/sdwan_service_ipv6_acl_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_ipv6_acl_feature_id,feature_profile_id" terraform import sdwan_service_ipv6_acl_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_lan_vpn_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_feature/import.sh index 4caef87f..008f0ced 100644 --- a/examples/resources/sdwan_service_lan_vpn_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_lan_vpn_feature_id,feature_profile_id" terraform import sdwan_service_lan_vpn_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_lan_vpn_feature_associate_multicast_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_feature_associate_multicast_feature/import.sh index c6c3ee3f..57f3a8a5 100644 --- a/examples/resources/sdwan_service_lan_vpn_feature_associate_multicast_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_feature_associate_multicast_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_feature_associate_multicast_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_multicast_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_multicast_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_bgp_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_bgp_feature/import.sh index 92ab658d..564c14ce 100644 --- a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_bgp_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_bgp_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_bgp_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature/import.sh index 62cfcc09..f49a34f3 100644 --- a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_eigrp_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospf_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospf_feature/import.sh index ac0d537f..378db267 100644 --- a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospf_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospf_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_ospf_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature/import.sh index 182b106d..4c1abaf7 100644 --- a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature/import.sh index 4092dd3b..9385b746 100644 --- a/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature_id,feature_profile_id,service_lan_vpn_feature_id" +terraform import sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature/import.sh index 77aa5161..a2609cb6 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_lan_vpn_interface_ethernet_feature_id,feature_profile_id,service_lan_vpn_feature_id" terraform import sdwan_service_lan_vpn_interface_ethernet_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature/import.sh index 9bfefeab..7bbcf0a9 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_ethernet_feature_id" +terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature/import.sh index 0753c25c..acd181e1 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_ethernet_feature_associate_tracker_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_ethernet_feature_id" +terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature/import.sh index 20a0b29a..73ae2c57 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_ethernet_feature_id" +terraform import sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_gre_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_gre_feature/import.sh index 3278f8bf..3f13626c 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_gre_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_gre_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_lan_vpn_interface_gre_feature_id,feature_profile_id,service_lan_vpn_feature_id" terraform import sdwan_service_lan_vpn_interface_gre_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_ipsec_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_ipsec_feature/import.sh index eccd2029..23880e66 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_ipsec_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_ipsec_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_lan_vpn_interface_ipsec_feature_id,feature_profile_id,service_lan_vpn_feature_id" terraform import sdwan_service_lan_vpn_interface_ipsec_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature/import.sh index 0f7b701c..736e5c64 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_ipsec_feature_id" +terraform import sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_svi_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_svi_feature/import.sh index 23394ae0..af3aab9b 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_svi_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_svi_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_lan_vpn_interface_svi_feature_id,feature_profile_id,service_lan_vpn_feature_id" terraform import sdwan_service_lan_vpn_interface_svi_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature/import.sh b/examples/resources/sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature/import.sh index 13456f1b..afc0de0f 100644 --- a/examples/resources/sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature/import.sh +++ b/examples/resources/sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature_id,feature_profile_id,service_lan_vpn_feature_id,service_lan_vpn_interface_svi_feature_id" +terraform import sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_service_multicast_feature/import.sh b/examples/resources/sdwan_service_multicast_feature/import.sh index 82bccc1a..0c5dcc5c 100644 --- a/examples/resources/sdwan_service_multicast_feature/import.sh +++ b/examples/resources/sdwan_service_multicast_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_multicast_feature_id,feature_profile_id" terraform import sdwan_service_multicast_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_object_tracker_feature/import.sh b/examples/resources/sdwan_service_object_tracker_feature/import.sh index 14e97660..1baae5c1 100644 --- a/examples/resources/sdwan_service_object_tracker_feature/import.sh +++ b/examples/resources/sdwan_service_object_tracker_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_object_tracker_feature_id,feature_profile_id" terraform import sdwan_service_object_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_object_tracker_group_feature/import.sh b/examples/resources/sdwan_service_object_tracker_group_feature/import.sh index 08ca0225..059129f3 100644 --- a/examples/resources/sdwan_service_object_tracker_group_feature/import.sh +++ b/examples/resources/sdwan_service_object_tracker_group_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_object_tracker_group_feature_id,feature_profile_id" terraform import sdwan_service_object_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_route_policy_feature/import.sh b/examples/resources/sdwan_service_route_policy_feature/import.sh index f8bdd481..c34563a0 100644 --- a/examples/resources/sdwan_service_route_policy_feature/import.sh +++ b/examples/resources/sdwan_service_route_policy_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_route_policy_feature_id,feature_profile_id" terraform import sdwan_service_route_policy_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_routing_bgp_feature/import.sh b/examples/resources/sdwan_service_routing_bgp_feature/import.sh index b69bb9e8..ced34f49 100644 --- a/examples/resources/sdwan_service_routing_bgp_feature/import.sh +++ b/examples/resources/sdwan_service_routing_bgp_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_routing_bgp_feature_id,feature_profile_id" terraform import sdwan_service_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_routing_eigrp_feature/import.sh b/examples/resources/sdwan_service_routing_eigrp_feature/import.sh index b21e0c68..71556955 100644 --- a/examples/resources/sdwan_service_routing_eigrp_feature/import.sh +++ b/examples/resources/sdwan_service_routing_eigrp_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_routing_eigrp_feature_id,feature_profile_id" terraform import sdwan_service_routing_eigrp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_routing_ospf_feature/import.sh b/examples/resources/sdwan_service_routing_ospf_feature/import.sh index bb9d4827..a03e55d1 100644 --- a/examples/resources/sdwan_service_routing_ospf_feature/import.sh +++ b/examples/resources/sdwan_service_routing_ospf_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_routing_ospf_feature_id,feature_profile_id" terraform import sdwan_service_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_routing_ospfv3_ipv4_feature/import.sh b/examples/resources/sdwan_service_routing_ospfv3_ipv4_feature/import.sh index f0883f4b..af43c305 100644 --- a/examples/resources/sdwan_service_routing_ospfv3_ipv4_feature/import.sh +++ b/examples/resources/sdwan_service_routing_ospfv3_ipv4_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_routing_ospfv3_ipv4_feature_id,feature_profile_id" terraform import sdwan_service_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_routing_ospfv3_ipv6_feature/import.sh b/examples/resources/sdwan_service_routing_ospfv3_ipv6_feature/import.sh index 1a35f264..05467ca5 100644 --- a/examples/resources/sdwan_service_routing_ospfv3_ipv6_feature/import.sh +++ b/examples/resources/sdwan_service_routing_ospfv3_ipv6_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_routing_ospfv3_ipv6_feature_id,feature_profile_id" terraform import sdwan_service_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_switchport_feature/import.sh b/examples/resources/sdwan_service_switchport_feature/import.sh index 594d9021..a3ea10ac 100644 --- a/examples/resources/sdwan_service_switchport_feature/import.sh +++ b/examples/resources/sdwan_service_switchport_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_switchport_feature_id,feature_profile_id" terraform import sdwan_service_switchport_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_tracker_feature/import.sh b/examples/resources/sdwan_service_tracker_feature/import.sh index e48f3c43..44a8ea4d 100644 --- a/examples/resources/sdwan_service_tracker_feature/import.sh +++ b/examples/resources/sdwan_service_tracker_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_tracker_feature_id,feature_profile_id" terraform import sdwan_service_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_tracker_group_feature/import.sh b/examples/resources/sdwan_service_tracker_group_feature/import.sh index e3255802..f7cda85d 100644 --- a/examples/resources/sdwan_service_tracker_group_feature/import.sh +++ b/examples/resources/sdwan_service_tracker_group_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_tracker_group_feature_id,feature_profile_id" terraform import sdwan_service_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_service_wireless_lan_feature/import.sh b/examples/resources/sdwan_service_wireless_lan_feature/import.sh index 9719c817..bf923c25 100644 --- a/examples/resources/sdwan_service_wireless_lan_feature/import.sh +++ b/examples/resources/sdwan_service_wireless_lan_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "service_wireless_lan_feature_id,feature_profile_id" terraform import sdwan_service_wireless_lan_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_aaa_feature/import.sh b/examples/resources/sdwan_system_aaa_feature/import.sh index b93c383d..898a6923 100644 --- a/examples/resources/sdwan_system_aaa_feature/import.sh +++ b/examples/resources/sdwan_system_aaa_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_aaa_feature_id,feature_profile_id" terraform import sdwan_system_aaa_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_banner_feature/import.sh b/examples/resources/sdwan_system_banner_feature/import.sh index 7e8ce125..0be8bc0e 100644 --- a/examples/resources/sdwan_system_banner_feature/import.sh +++ b/examples/resources/sdwan_system_banner_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_banner_feature_id,feature_profile_id" terraform import sdwan_system_banner_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_basic_feature/import.sh b/examples/resources/sdwan_system_basic_feature/import.sh index b26e28f3..00621945 100644 --- a/examples/resources/sdwan_system_basic_feature/import.sh +++ b/examples/resources/sdwan_system_basic_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_basic_feature_id,feature_profile_id" terraform import sdwan_system_basic_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_bfd_feature/import.sh b/examples/resources/sdwan_system_bfd_feature/import.sh index 26712619..1fc161ce 100644 --- a/examples/resources/sdwan_system_bfd_feature/import.sh +++ b/examples/resources/sdwan_system_bfd_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_bfd_feature_id,feature_profile_id" terraform import sdwan_system_bfd_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_flexible_port_speed_feature/import.sh b/examples/resources/sdwan_system_flexible_port_speed_feature/import.sh index 351ebf1a..6a94e458 100644 --- a/examples/resources/sdwan_system_flexible_port_speed_feature/import.sh +++ b/examples/resources/sdwan_system_flexible_port_speed_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_flexible_port_speed_feature_id,feature_profile_id" terraform import sdwan_system_flexible_port_speed_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_global_feature/import.sh b/examples/resources/sdwan_system_global_feature/import.sh index bd933a8f..c1524bfb 100644 --- a/examples/resources/sdwan_system_global_feature/import.sh +++ b/examples/resources/sdwan_system_global_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_global_feature_id,feature_profile_id" terraform import sdwan_system_global_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_ipv4_device_access_feature/import.sh b/examples/resources/sdwan_system_ipv4_device_access_feature/import.sh index 77fc4503..5ec6d91a 100644 --- a/examples/resources/sdwan_system_ipv4_device_access_feature/import.sh +++ b/examples/resources/sdwan_system_ipv4_device_access_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_ipv4_device_access_feature_id,feature_profile_id" terraform import sdwan_system_ipv4_device_access_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_ipv6_device_access_feature/import.sh b/examples/resources/sdwan_system_ipv6_device_access_feature/import.sh index 15bc6178..a0d74caf 100644 --- a/examples/resources/sdwan_system_ipv6_device_access_feature/import.sh +++ b/examples/resources/sdwan_system_ipv6_device_access_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_ipv6_device_access_feature_id,feature_profile_id" terraform import sdwan_system_ipv6_device_access_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_logging_feature/import.sh b/examples/resources/sdwan_system_logging_feature/import.sh index a1bdd2fc..d7f852fb 100644 --- a/examples/resources/sdwan_system_logging_feature/import.sh +++ b/examples/resources/sdwan_system_logging_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_logging_feature_id,feature_profile_id" terraform import sdwan_system_logging_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_mrf_feature/import.sh b/examples/resources/sdwan_system_mrf_feature/import.sh index efa64bdd..82739a60 100644 --- a/examples/resources/sdwan_system_mrf_feature/import.sh +++ b/examples/resources/sdwan_system_mrf_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_mrf_feature_id,feature_profile_id" terraform import sdwan_system_mrf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_ntp_feature/import.sh b/examples/resources/sdwan_system_ntp_feature/import.sh index 3aa11073..73def802 100644 --- a/examples/resources/sdwan_system_ntp_feature/import.sh +++ b/examples/resources/sdwan_system_ntp_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_ntp_feature_id,feature_profile_id" terraform import sdwan_system_ntp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_omp_feature/import.sh b/examples/resources/sdwan_system_omp_feature/import.sh index 4864c493..42efc27e 100644 --- a/examples/resources/sdwan_system_omp_feature/import.sh +++ b/examples/resources/sdwan_system_omp_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_omp_feature_id,feature_profile_id" terraform import sdwan_system_omp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_performance_monitoring_feature/import.sh b/examples/resources/sdwan_system_performance_monitoring_feature/import.sh index fe1b55fc..ec9a60db 100644 --- a/examples/resources/sdwan_system_performance_monitoring_feature/import.sh +++ b/examples/resources/sdwan_system_performance_monitoring_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_performance_monitoring_feature_id,feature_profile_id" terraform import sdwan_system_performance_monitoring_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_remote_access_feature/import.sh b/examples/resources/sdwan_system_remote_access_feature/import.sh index 7247ccc0..2832aff2 100644 --- a/examples/resources/sdwan_system_remote_access_feature/import.sh +++ b/examples/resources/sdwan_system_remote_access_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_remote_access_feature_id,feature_profile_id" terraform import sdwan_system_remote_access_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_security_feature/import.sh b/examples/resources/sdwan_system_security_feature/import.sh index a27ebd5e..1c7b9b8b 100644 --- a/examples/resources/sdwan_system_security_feature/import.sh +++ b/examples/resources/sdwan_system_security_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_security_feature_id,feature_profile_id" terraform import sdwan_system_security_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_system_snmp_feature/import.sh b/examples/resources/sdwan_system_snmp_feature/import.sh index 43b6ad36..ff08e4ca 100644 --- a/examples/resources/sdwan_system_snmp_feature/import.sh +++ b/examples/resources/sdwan_system_snmp_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "system_snmp_feature_id,feature_profile_id" terraform import sdwan_system_snmp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_cellular_controller_feature/import.sh b/examples/resources/sdwan_transport_cellular_controller_feature/import.sh index af82d4cc..7c04f88f 100644 --- a/examples/resources/sdwan_transport_cellular_controller_feature/import.sh +++ b/examples/resources/sdwan_transport_cellular_controller_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_cellular_controller_feature_id,feature_profile_id" terraform import sdwan_transport_cellular_controller_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_cellular_profile_feature/import.sh b/examples/resources/sdwan_transport_cellular_profile_feature/import.sh index b4153001..06ec3600 100644 --- a/examples/resources/sdwan_transport_cellular_profile_feature/import.sh +++ b/examples/resources/sdwan_transport_cellular_profile_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_cellular_profile_feature_id,feature_profile_id" terraform import sdwan_transport_cellular_profile_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_gps_feature/import.sh b/examples/resources/sdwan_transport_gps_feature/import.sh index 3474a0ef..2e50f652 100644 --- a/examples/resources/sdwan_transport_gps_feature/import.sh +++ b/examples/resources/sdwan_transport_gps_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_gps_feature_id,feature_profile_id" terraform import sdwan_transport_gps_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_ipv4_acl_feature/import.sh b/examples/resources/sdwan_transport_ipv4_acl_feature/import.sh index a533f006..8544a586 100644 --- a/examples/resources/sdwan_transport_ipv4_acl_feature/import.sh +++ b/examples/resources/sdwan_transport_ipv4_acl_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_ipv4_acl_feature_id,feature_profile_id" terraform import sdwan_transport_ipv4_acl_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_ipv6_acl_feature/import.sh b/examples/resources/sdwan_transport_ipv6_acl_feature/import.sh index 9affa101..4d2ee0a3 100644 --- a/examples/resources/sdwan_transport_ipv6_acl_feature/import.sh +++ b/examples/resources/sdwan_transport_ipv6_acl_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_ipv6_acl_feature_id,feature_profile_id" terraform import sdwan_transport_ipv6_acl_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_ipv6_tracker_feature/import.sh b/examples/resources/sdwan_transport_ipv6_tracker_feature/import.sh index 4e2be8b6..17391cdc 100644 --- a/examples/resources/sdwan_transport_ipv6_tracker_feature/import.sh +++ b/examples/resources/sdwan_transport_ipv6_tracker_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_ipv6_tracker_feature_id,feature_profile_id" terraform import sdwan_transport_ipv6_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_ipv6_tracker_group_feature/import.sh b/examples/resources/sdwan_transport_ipv6_tracker_group_feature/import.sh index 19c2a795..4857a332 100644 --- a/examples/resources/sdwan_transport_ipv6_tracker_group_feature/import.sh +++ b/examples/resources/sdwan_transport_ipv6_tracker_group_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_ipv6_tracker_group_feature_id,feature_profile_id" terraform import sdwan_transport_ipv6_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_management_vpn_feature/import.sh b/examples/resources/sdwan_transport_management_vpn_feature/import.sh index ab6d3c2a..702cbfb9 100644 --- a/examples/resources/sdwan_transport_management_vpn_feature/import.sh +++ b/examples/resources/sdwan_transport_management_vpn_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_management_vpn_feature_id,feature_profile_id" terraform import sdwan_transport_management_vpn_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_management_vpn_interface_ethernet_feature/import.sh b/examples/resources/sdwan_transport_management_vpn_interface_ethernet_feature/import.sh index 31192dfc..d197fa15 100644 --- a/examples/resources/sdwan_transport_management_vpn_interface_ethernet_feature/import.sh +++ b/examples/resources/sdwan_transport_management_vpn_interface_ethernet_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_management_vpn_interface_ethernet_feature_id,feature_profile_id,transport_management_vpn_feature_id" terraform import sdwan_transport_management_vpn_interface_ethernet_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_route_policy_feature/import.sh b/examples/resources/sdwan_transport_route_policy_feature/import.sh index 8a0e14b4..c28462ef 100644 --- a/examples/resources/sdwan_transport_route_policy_feature/import.sh +++ b/examples/resources/sdwan_transport_route_policy_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_route_policy_feature_id,feature_profile_id" terraform import sdwan_transport_route_policy_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_routing_bgp_feature/import.sh b/examples/resources/sdwan_transport_routing_bgp_feature/import.sh index 95e7c74d..22f0a629 100644 --- a/examples/resources/sdwan_transport_routing_bgp_feature/import.sh +++ b/examples/resources/sdwan_transport_routing_bgp_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_routing_bgp_feature_id,feature_profile_id" terraform import sdwan_transport_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_routing_ospf_feature/import.sh b/examples/resources/sdwan_transport_routing_ospf_feature/import.sh index 0ad53c27..23ece835 100644 --- a/examples/resources/sdwan_transport_routing_ospf_feature/import.sh +++ b/examples/resources/sdwan_transport_routing_ospf_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_routing_ospf_feature_id,feature_profile_id" terraform import sdwan_transport_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_routing_ospfv3_ipv4_feature/import.sh b/examples/resources/sdwan_transport_routing_ospfv3_ipv4_feature/import.sh index facb7f29..9c982b4d 100644 --- a/examples/resources/sdwan_transport_routing_ospfv3_ipv4_feature/import.sh +++ b/examples/resources/sdwan_transport_routing_ospfv3_ipv4_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_routing_ospfv3_ipv4_feature_id,feature_profile_id" terraform import sdwan_transport_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_routing_ospfv3_ipv6_feature/import.sh b/examples/resources/sdwan_transport_routing_ospfv3_ipv6_feature/import.sh index 56559197..874cb8f0 100644 --- a/examples/resources/sdwan_transport_routing_ospfv3_ipv6_feature/import.sh +++ b/examples/resources/sdwan_transport_routing_ospfv3_ipv6_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_routing_ospfv3_ipv6_feature_id,feature_profile_id" terraform import sdwan_transport_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_t1_e1_controller_feature/import.sh b/examples/resources/sdwan_transport_t1_e1_controller_feature/import.sh index d12ae4f6..51a763e1 100644 --- a/examples/resources/sdwan_transport_t1_e1_controller_feature/import.sh +++ b/examples/resources/sdwan_transport_t1_e1_controller_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_t1_e1_controller_feature_id,feature_profile_id" terraform import sdwan_transport_t1_e1_controller_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_tracker_feature/import.sh b/examples/resources/sdwan_transport_tracker_feature/import.sh index cd7e7f18..8b240e49 100644 --- a/examples/resources/sdwan_transport_tracker_feature/import.sh +++ b/examples/resources/sdwan_transport_tracker_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_tracker_feature_id,feature_profile_id" terraform import sdwan_transport_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_tracker_group_feature/import.sh b/examples/resources/sdwan_transport_tracker_group_feature/import.sh index ce0f8b6b..ac98a9c7 100644 --- a/examples/resources/sdwan_transport_tracker_group_feature/import.sh +++ b/examples/resources/sdwan_transport_tracker_group_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_tracker_group_feature_id,feature_profile_id" terraform import sdwan_transport_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_wan_vpn_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_feature/import.sh index cc7dd732..bf0508a0 100644 --- a/examples/resources/sdwan_transport_wan_vpn_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_wan_vpn_feature_id,feature_profile_id" terraform import sdwan_transport_wan_vpn_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" diff --git a/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature/import.sh index 77d4d344..682c0b30 100644 --- a/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_feature_associate_routing_bgp_feature_id,feature_profile_id,transport_wan_vpn_feature_id" +terraform import sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature/import.sh index 2d7d9fc4..d8c878b2 100644 --- a/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_feature_associate_routing_ospf_feature_id,feature_profile_id,transport_wan_vpn_feature_id" +terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature/import.sh index 9f33ae95..4b4045ae 100644 --- a/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature_id,feature_profile_id,transport_wan_vpn_feature_id" +terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature/import.sh index e8405419..c9f4c998 100644 --- a/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature_id,feature_profile_id,transport_wan_vpn_feature_id" +terraform import sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature/import.sh index e6fccdda..1c48d79b 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_wan_vpn_interface_cellular_feature_id,feature_profile_id,transport_wan_vpn_feature_id" terraform import sdwan_transport_wan_vpn_interface_cellular_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature/import.sh index 99a3ca8e..05f76489 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_cellular_feature_associate_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_cellular_feature_id" +terraform import sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature/import.sh index 90921fde..3bb33690 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_cellular_feature_id" +terraform import sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature/import.sh index 4da7468f..c96c7417 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_id,feature_profile_id,transport_wan_vpn_feature_id" terraform import sdwan_transport_wan_vpn_interface_ethernet_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature/import.sh index 5d40ebe3..2a92df5e 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ethernet_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature/import.sh index 10aa98d3..0ece049e 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ethernet_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature/import.sh index 6da4041e..f33f85da 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ethernet_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature/import.sh index 015a9fc4..2d705e8f 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ethernet_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_gre_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_gre_feature/import.sh index 27dc5d7c..fd53aae6 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_gre_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_gre_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_wan_vpn_interface_gre_feature_id,feature_profile_id,transport_wan_vpn_feature_id" terraform import sdwan_transport_wan_vpn_interface_gre_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature/import.sh index e948440e..2e134a23 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_gre_feature_associate_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_gre_feature_id" +terraform import sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_ipsec_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_ipsec_feature/import.sh index 0a2cfca6..42c5a7a9 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_ipsec_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_ipsec_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_wan_vpn_interface_ipsec_feature_id,feature_profile_id,transport_wan_vpn_feature_id" terraform import sdwan_transport_wan_vpn_interface_ipsec_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature/import.sh index 6a599223..85ccae3e 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature/import.sh @@ -1 +1,2 @@ -terraform import sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +# Expected import identifier with the format: "transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature_id,feature_profile_id,transport_wan_vpn_feature_id,transport_wan_vpn_interface_ipsec_feature_id" +terraform import sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037,140331f6-5418-4755-a059-13c77eb96037" diff --git a/examples/resources/sdwan_transport_wan_vpn_interface_t1_e1_serial_feature/import.sh b/examples/resources/sdwan_transport_wan_vpn_interface_t1_e1_serial_feature/import.sh index efae4e44..122c3901 100644 --- a/examples/resources/sdwan_transport_wan_vpn_interface_t1_e1_serial_feature/import.sh +++ b/examples/resources/sdwan_transport_wan_vpn_interface_t1_e1_serial_feature/import.sh @@ -1,3 +1,2 @@ - # Expected import identifier with the format: "transport_wan_vpn_interface_t1_e1_serial_feature_id,feature_profile_id,transport_wan_vpn_feature_id" terraform import sdwan_transport_wan_vpn_interface_t1_e1_serial_feature.example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037" diff --git a/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_dhcp_server.yaml b/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_dhcp_server.yaml index 1c006184..92ab793c 100644 --- a/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_dhcp_server.yaml +++ b/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_dhcp_server.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Interface Ethernet Feature Associate DHCP Server Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/interface/ethernet/%s/dhcp-server/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_tracker.yaml b/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_tracker.yaml index 1045cc82..04affbe1 100644 --- a/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_tracker.yaml +++ b/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_tracker.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Interface Ethernet Feature Associate Tracker Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/interface/ethernet/%s/tracker/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_tracker_group.yaml b/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_tracker_group.yaml index 4b3bb61a..bcc4b6ef 100644 --- a/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_tracker_group.yaml +++ b/gen/definitions/generic/service_lan_vpn_ethernet_interface_feature_associate_tracker_group.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Interface Ethernet Feature Associate Tracker Group Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/interface/ethernet/%s/trackergroup/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_ethernet_ipsec_feature_associate_dhcp_server.yaml b/gen/definitions/generic/service_lan_vpn_ethernet_ipsec_feature_associate_dhcp_server.yaml index 2da3bc45..d7374ab5 100644 --- a/gen/definitions/generic/service_lan_vpn_ethernet_ipsec_feature_associate_dhcp_server.yaml +++ b/gen/definitions/generic/service_lan_vpn_ethernet_ipsec_feature_associate_dhcp_server.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Interface IPSec Feature Associate DHCP Server Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/interface/ipsec/%s/dhcp-server/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_ethernet_svi_feature_associate_dhcp_server.yaml b/gen/definitions/generic/service_lan_vpn_ethernet_svi_feature_associate_dhcp_server.yaml index bb86d519..cd72827d 100644 --- a/gen/definitions/generic/service_lan_vpn_ethernet_svi_feature_associate_dhcp_server.yaml +++ b/gen/definitions/generic/service_lan_vpn_ethernet_svi_feature_associate_dhcp_server.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Interface SVI Feature Associate DHCP Server Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/interface/svi/%s/dhcp-server/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_feature_associate_mulitcast.yaml b/gen/definitions/generic/service_lan_vpn_feature_associate_mulitcast.yaml index 44757f1e..ff7421d1 100644 --- a/gen/definitions/generic/service_lan_vpn_feature_associate_mulitcast.yaml +++ b/gen/definitions/generic/service_lan_vpn_feature_associate_mulitcast.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Feature Associate Multicast Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/routing/multicast/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_bgp.yaml b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_bgp.yaml index 818213e2..9eb28d2c 100644 --- a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_bgp.yaml +++ b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_bgp.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Feature Associate Routing BGP Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/routing/bgp/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_eigrp.yaml b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_eigrp.yaml index 7f87f94d..ec49a9ca 100644 --- a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_eigrp.yaml +++ b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_eigrp.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Feature Associate Routing EIGRP Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/routing/eigrp/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospf.yaml b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospf.yaml index e20590b4..edf58015 100644 --- a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospf.yaml +++ b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospf.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Feature Associate Routing OSPF Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/routing/ospf/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospfv3_ipv4.yaml b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospfv3_ipv4.yaml index c08363ac..23869d40 100644 --- a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospfv3_ipv4.yaml +++ b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospfv3_ipv4.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Feature Associate Routing OSPFv3 IPv4 Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/routing/ospfv3/ipv4/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospfv3_ipv6.yaml b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospfv3_ipv6.yaml index 1c66552a..0058459b 100644 --- a/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospfv3_ipv6.yaml +++ b/gen/definitions/generic/service_lan_vpn_feature_associate_routing_ospfv3_ipv6.yaml @@ -2,6 +2,7 @@ name: Service LAN VPN Feature Associate Routing OSPFv3 IPv6 Feature rest_endpoint: /v1/feature-profile/sdwan/service/%v/lan/vpn/%s/routing/ospfv3/ipv6/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Service test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_bgp.yaml b/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_bgp.yaml index 4b00b421..8e61a3b5 100644 --- a/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_bgp.yaml +++ b/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_bgp.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Feature Associate Routing BGP Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/routing/bgp/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospf.yaml b/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospf.yaml index 6333e180..85bd1c6c 100644 --- a/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospf.yaml +++ b/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospf.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Feature Associate Routing OSPF Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/routing/ospf/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4.yaml b/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4.yaml index fadd913f..f4dd82ac 100644 --- a/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4.yaml +++ b/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospfv3_ipv4.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Feature Associate Routing OSPFv3 IPv4 Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/routing/ospfv3/ipv4/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6.yaml b/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6.yaml index a07187cd..b6b1dc37 100644 --- a/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6.yaml +++ b/gen/definitions/generic/transport_wan_vpn_feature_associate_routing_ospfv3_ipv6.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Feature Associate Routing OSPFv3 IPv6 Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/routing/ospfv3/ipv6/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_interface_cellular_feature_associate_tracker.yaml b/gen/definitions/generic/transport_wan_vpn_interface_cellular_feature_associate_tracker.yaml index 79bc63c3..bb3215ee 100644 --- a/gen/definitions/generic/transport_wan_vpn_interface_cellular_feature_associate_tracker.yaml +++ b/gen/definitions/generic/transport_wan_vpn_interface_cellular_feature_associate_tracker.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Interface Cellular Feature Associate Tracker Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/interface/cellular/%s/tracker/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_interface_cellular_feature_associate_tracker_group.yaml b/gen/definitions/generic/transport_wan_vpn_interface_cellular_feature_associate_tracker_group.yaml index dd07e662..88e6d4c5 100644 --- a/gen/definitions/generic/transport_wan_vpn_interface_cellular_feature_associate_tracker_group.yaml +++ b/gen/definitions/generic/transport_wan_vpn_interface_cellular_feature_associate_tracker_group.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Interface Cellular Feature Associate Tracker Group Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/interface/cellular/%s/tracker/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker.yaml b/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker.yaml index 849fb3c7..c7678a3d 100644 --- a/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker.yaml +++ b/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Interface Ethernet Feature Associate IPv6 Tracker Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/interface/ethernet/%s/ipv6-tracker/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group.yaml b/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group.yaml index 0f13beab..3ed208f1 100644 --- a/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group.yaml +++ b/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Interface Ethernet Feature Associate IPv6 Tracker Group Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/interface/ethernet/%s/ipv6-trackergroup/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_tracker.yaml b/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_tracker.yaml index 3be3ab80..8bd5c794 100644 --- a/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_tracker.yaml +++ b/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_tracker.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Interface Ethernet Feature Associate Tracker Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/interface/ethernet/%s/tracker/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group.yaml b/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group.yaml index 703027d7..9b8bbcfb 100644 --- a/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group.yaml +++ b/gen/definitions/generic/transport_wan_vpn_interface_ethernet_feature_associate_tracker_group.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Interface Ethernet Feature Associate Tracker Group Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/interface/ethernet/%s/trackergroup/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_interface_gre_feature_associate_tracker.yaml b/gen/definitions/generic/transport_wan_vpn_interface_gre_feature_associate_tracker.yaml index 74dcb532..663f7c7c 100644 --- a/gen/definitions/generic/transport_wan_vpn_interface_gre_feature_associate_tracker.yaml +++ b/gen/definitions/generic/transport_wan_vpn_interface_gre_feature_associate_tracker.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Interface GRE Feature Associate Tracker Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/interface/gre/%s/tracker/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/definitions/generic/transport_wan_vpn_interface_ipsec_feature_associate_tracker.yaml b/gen/definitions/generic/transport_wan_vpn_interface_ipsec_feature_associate_tracker.yaml index f87fedaa..0c34a0ce 100644 --- a/gen/definitions/generic/transport_wan_vpn_interface_ipsec_feature_associate_tracker.yaml +++ b/gen/definitions/generic/transport_wan_vpn_interface_ipsec_feature_associate_tracker.yaml @@ -2,6 +2,7 @@ name: Transport WAN VPN Interface IPSEC Feature Associate Tracker Feature rest_endpoint: /v1/feature-profile/sdwan/transport/%v/wan/vpn/%s/interface/ipsec/%s/tracker/ minimum_version: 20.12.0 +has_version: true id_attribute: parcelId doc_category: Features - Transport test_tags: [SDWAN_2012] diff --git a/gen/templates/generic/import.sh b/gen/templates/generic/import.sh index 0528a4cd..e284d21c 100644 --- a/gen/templates/generic/import.sh +++ b/gen/templates/generic/import.sh @@ -1 +1,3 @@ -terraform import sdwan_{{snakeCase .Name}}.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +{{- if hasReference .Attributes}}# Expected import identifier with the format: "{{snakeCase .Name}}_id{{range .Attributes}}{{if .Reference}},{{.TfName}}{{end}}{{end}}" +terraform import sdwan_{{snakeCase .Name}}.example "f6b2c44c-693c-4763-b010-895aa3d236bd{{range .Attributes}}{{if .Reference}},{{.Example}}{{end}}{{end}}" +{{- else}}terraform import sdwan_{{snakeCase .Name}}.example "f6b2c44c-693c-4763-b010-895aa3d236bd"{{- end}} \ No newline at end of file diff --git a/gen/templates/generic/resource.go b/gen/templates/generic/resource.go index f42ea569..378b0a67 100644 --- a/gen/templates/generic/resource.go +++ b/gen/templates/generic/resource.go @@ -579,7 +579,26 @@ func (r *{{camelCase .Name}}Resource) Delete(ctx context.Context, req resource.D // Section below is generated&owned by "gen/generator.go". //template:begin import {{- if not .NoImport}} func (r *{{camelCase .Name}}Resource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { + {{- if hasReference .Attributes}} + count := {{ countReferences .Attributes}} + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "{{snakeCase .Name}}_id"{{range .Attributes}}{{if .Reference}} + ",{{.TfName}}"{{end}}{{end}} + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + {{- $count := 0}} + {{- range .Attributes}}{{- if .Reference}}{{$count = add $count 1}} + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("{{.TfName}}"), parts[{{$count}}])...) + {{- end}}{{- end}} + {{- else}} resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + {{- end}} } {{- end}} // End of section. //template:end import diff --git a/gen/templates/profile_parcels/import.sh b/gen/templates/profile_parcels/import.sh index 53dad35c..b0f09419 100644 --- a/gen/templates/profile_parcels/import.sh +++ b/gen/templates/profile_parcels/import.sh @@ -1,6 +1,3 @@ -{{- if hasReference .Attributes}} -# Expected import identifier with the format: "{{getProfileParcelName .}}_id{{range .Attributes}}{{if .Reference}},{{.TfName}}{{end}}{{end}}" +{{- if hasReference .Attributes}}# Expected import identifier with the format: "{{getProfileParcelName .}}_id{{range .Attributes}}{{if .Reference}},{{.TfName}}{{end}}{{end}}" terraform import sdwan_{{getProfileParcelName .}}.example "f6b2c44c-693c-4763-b010-895aa3d236bd{{range .Attributes}}{{if .Reference}},{{.Example}}{{end}}{{end}}" -{{- else}} -terraform import sdwan_{{getProfileParcelName .}}.example "f6b2c44c-693c-4763-b010-895aa3d236bd" -{{- end}} \ No newline at end of file +{{- else}}terraform import sdwan_{{getProfileParcelName .}}.example "f6b2c44c-693c-4763-b010-895aa3d236bd"{{- end}} \ No newline at end of file diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_multicast_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_multicast_feature.go index 3ac1ccb2..a6d620f7 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_multicast_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_multicast_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNFeatureAssociateMulticastFeatureDataSource) Schema(ctx con MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go index 9a0fbfe8..d3116936 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNFeatureAssociateRoutingBGPFeatureDataSource) Schema(ctx co MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go index 167ceac8..e6b4ebac 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNFeatureAssociateRoutingEIGRPFeatureDataSource) Schema(ctx MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go index 010e21b9..0cd2cfbc 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNFeatureAssociateRoutingOSPFFeatureDataSource) Schema(ctx c MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go index c49e3494..a125d061 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureDataSource) Schema MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go index cd720819..e68600ff 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureDataSource) Schema MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go index 917e6798..1ba0a4c8 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNInterfaceEthernetFeatureAssociateDHCPServerFeatureDataSour MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go index fc422de1..cb54c15c 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerFeatureDataSource) MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go index e561517f..c46cb599 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureDataSo MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go index 64f0617c..88e4c1aa 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNInterfaceIPSecFeatureAssociateDHCPServerFeatureDataSource) MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go b/internal/provider/data_source_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go index c49ce5b6..b82bd1e1 100644 --- a/internal/provider/data_source_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go +++ b/internal/provider/data_source_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go @@ -61,6 +61,10 @@ func (d *ServiceLANVPNInterfaceSVIFeatureAssociateDHCPServerFeatureDataSource) S MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go index 57234966..86a9c9da 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNFeatureAssociateRoutingBGPFeatureDataSource) Schema(ctx MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go index 687102f8..d0f3950e 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNFeatureAssociateRoutingOSPFFeatureDataSource) Schema(ctx MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go index cba6afa9..e4d3dc8d 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureDataSource) Sche MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go index b0338b07..6b124360 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureDataSource) Sche MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go index a6f66bb1..e13cfff6 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNInterfaceCellularFeatureAssociateTrackerFeatureDataSourc MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go index 767da209..4707845a 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNInterfaceCellularFeatureAssociateTrackerGroupFeatureData MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go index e8bf2296..a7e357be 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerFeatureDataS MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go index 23971969..31b56c68 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerGroupFeature MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go index 4fe438c6..77a660ec 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerFeatureDataSourc MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go index 38b8b89f..495019c8 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureData MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go index 50d63afd..45e46baa 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNInterfaceGREFeatureAssociateTrackerFeatureDataSource) Sc MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go index 5d8471e1..136f5447 100644 --- a/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go +++ b/internal/provider/data_source_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go @@ -61,6 +61,10 @@ func (d *TransportWANVPNInterfaceIPSECFeatureAssociateTrackerFeatureDataSource) MarkdownDescription: "The id of the object", Required: true, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: "Feature Profile ID", Required: true, diff --git a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_multicast_feature.go b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_multicast_feature.go index b4c8d376..3f12086c 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_multicast_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_multicast_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNFeatureAssociateMulticastFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceMulticastFeatureId types.String `tfsdk:"service_multicast_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go index b5f704ab..ae3a87c7 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNFeatureAssociateRoutingBGPFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceRoutingBgpFeatureId types.String `tfsdk:"service_routing_bgp_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go index 15097464..d6f7db5f 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNFeatureAssociateRoutingEIGRPFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceRoutingEigrpFeatureId types.String `tfsdk:"service_routing_eigrp_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go index 19c95fa9..379ab802 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNFeatureAssociateRoutingOSPFFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceRoutingOspfFeatureId types.String `tfsdk:"service_routing_ospf_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go index f4d2dd6a..d509c73f 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv4Feature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceRoutingOspfv3Ipv4FeatureId types.String `tfsdk:"service_routing_ospfv3_ipv4_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go index ad730efb..40310059 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv6Feature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceRoutingOspfv3Ipv6FeatureId types.String `tfsdk:"service_routing_ospfv3_ipv6_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go b/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go index 369144f2..c53b262d 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNInterfaceEthernetFeatureAssociateDHCPServerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceLanVpnInterfaceEthernetFeatureId types.String `tfsdk:"service_lan_vpn_interface_ethernet_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go b/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go index 74a88df6..7b2a9323 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceLanVpnInterfaceEthernetFeatureId types.String `tfsdk:"service_lan_vpn_interface_ethernet_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go b/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go index 14dbdc3a..5d681fce 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceLanVpnInterfaceEthernetFeatureId types.String `tfsdk:"service_lan_vpn_interface_ethernet_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go b/internal/provider/model_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go index 0fc4fd8d..d3d6ab55 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNInterfaceIPSecFeatureAssociateDHCPServerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceLanVpnInterfaceIpsecFeatureId types.String `tfsdk:"service_lan_vpn_interface_ipsec_feature_id"` diff --git a/internal/provider/model_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go b/internal/provider/model_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go index dbaf3617..01e5bdc2 100644 --- a/internal/provider/model_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go +++ b/internal/provider/model_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type ServiceLANVPNInterfaceSVIFeatureAssociateDHCPServerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` ServiceLanVpnFeatureId types.String `tfsdk:"service_lan_vpn_feature_id"` ServiceLanVpnInterfaceSviFeatureId types.String `tfsdk:"service_lan_vpn_interface_svi_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go index 370ab971..2c484542 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNFeatureAssociateRoutingBGPFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportRoutingBgpFeatureId types.String `tfsdk:"transport_routing_bgp_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go index 82adc193..243cbd49 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNFeatureAssociateRoutingOSPFFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportRoutingOspfFeatureId types.String `tfsdk:"transport_routing_ospf_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go index cff65e31..9153837f 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNFeatureAssociateRoutingOSPFv3IPv4Feature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportRoutingOspfv3Ipv4FeatureId types.String `tfsdk:"transport_routing_ospfv3_ipv4_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go index 814f9dda..1004f4f5 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNFeatureAssociateRoutingOSPFv3IPv6Feature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportRoutingOspfv3Ipv6FeatureId types.String `tfsdk:"transport_routing_ospfv3_ipv6_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go index e2dfe97f..99c7de33 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNInterfaceCellularFeatureAssociateTrackerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportWanVpnInterfaceCellularFeatureId types.String `tfsdk:"transport_wan_vpn_interface_cellular_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go index 2a752f66..95d33328 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNInterfaceCellularFeatureAssociateTrackerGroupFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportWanVpnInterfaceCellularFeatureId types.String `tfsdk:"transport_wan_vpn_interface_cellular_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go index 44013c5d..a1b308f8 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportWanVpnInterfaceEthernetFeatureId types.String `tfsdk:"transport_wan_vpn_interface_ethernet_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go index ab201e11..ffc75591 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerGroupFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportWanVpnInterfaceEthernetFeatureId types.String `tfsdk:"transport_wan_vpn_interface_ethernet_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go index e5eb13a4..d84c2e8e 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNInterfaceEthernetFeatureAssociateTrackerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportWanVpnInterfaceEthernetFeatureId types.String `tfsdk:"transport_wan_vpn_interface_ethernet_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go index 27738c3e..e0ba3016 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportWanVpnInterfaceEthernetFeatureId types.String `tfsdk:"transport_wan_vpn_interface_ethernet_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go index 71dfe5b1..8e25127c 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNInterfaceGREFeatureAssociateTrackerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportWanVpnInterfaceGreFeatureId types.String `tfsdk:"transport_wan_vpn_interface_gre_feature_id"` diff --git a/internal/provider/model_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go b/internal/provider/model_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go index cbbc67c4..7a829692 100644 --- a/internal/provider/model_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go +++ b/internal/provider/model_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go @@ -33,6 +33,7 @@ import ( // Section below is generated&owned by "gen/generator.go". //template:begin types type TransportWANVPNInterfaceIPSECFeatureAssociateTrackerFeature struct { Id types.String `tfsdk:"id"` + Version types.Int64 `tfsdk:"version"` FeatureProfileId types.String `tfsdk:"feature_profile_id"` TransportWanVpnFeatureId types.String `tfsdk:"transport_wan_vpn_feature_id"` TransportWanVpnInterfaceIpsecFeatureId types.String `tfsdk:"transport_wan_vpn_interface_ipsec_feature_id"` diff --git a/internal/provider/resource_sdwan_cli_config_feature.go b/internal/provider/resource_sdwan_cli_config_feature.go index d924e575..baa6afe2 100644 --- a/internal/provider/resource_sdwan_cli_config_feature.go +++ b/internal/provider/resource_sdwan_cli_config_feature.go @@ -252,7 +252,19 @@ func (r *CLIConfigFeatureResource) Delete(ctx context.Context, req resource.Dele // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *CLIConfigFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 1 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "cli_config_feature_id" + ",feature_profile_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_multicast_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_multicast_feature.go index 7df51235..b70457af 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_multicast_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_multicast_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNFeatureAssociateMulticastFeatureResource) Schema(ctx conte stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *ServiceLANVPNFeatureAssociateMulticastFeatureResource) Create(ctx conte return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *ServiceLANVPNFeatureAssociateMulticastFeatureResource) Read(ctx context } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *ServiceLANVPNFeatureAssociateMulticastFeatureResource) Update(ctx conte } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *ServiceLANVPNFeatureAssociateMulticastFeatureResource) Delete(ctx conte // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNFeatureAssociateMulticastFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_feature_associate_multicast_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go index ed1a5a0c..381e0ef4 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_bgp_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNFeatureAssociateRoutingBGPFeatureResource) Schema(ctx cont stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingBGPFeatureResource) Create(ctx cont return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *ServiceLANVPNFeatureAssociateRoutingBGPFeatureResource) Read(ctx contex } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingBGPFeatureResource) Update(ctx cont } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *ServiceLANVPNFeatureAssociateRoutingBGPFeatureResource) Delete(ctx cont // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNFeatureAssociateRoutingBGPFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_feature_associate_routing_bgp_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go index dcdb7300..5a0c98ad 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_eigrp_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNFeatureAssociateRoutingEIGRPFeatureResource) Schema(ctx co stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingEIGRPFeatureResource) Create(ctx co return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *ServiceLANVPNFeatureAssociateRoutingEIGRPFeatureResource) Read(ctx cont } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingEIGRPFeatureResource) Update(ctx co } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *ServiceLANVPNFeatureAssociateRoutingEIGRPFeatureResource) Delete(ctx co // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNFeatureAssociateRoutingEIGRPFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_feature_associate_routing_eigrp_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go index 73c397eb..eac606aa 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospf_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFFeatureResource) Schema(ctx con stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFFeatureResource) Create(ctx con return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFFeatureResource) Read(ctx conte } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFFeatureResource) Update(ctx con } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFFeatureResource) Delete(ctx con // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNFeatureAssociateRoutingOSPFFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_feature_associate_routing_ospf_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go index 55b2e944..b7f1fbc1 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Schema(c stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Create(c return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Read(ctx } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Update(c } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Delete(c // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_feature_associate_routing_ospfv3_ipv4_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go index 7f86037e..5c4b25eb 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Schema(c stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Create(c return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Read(ctx } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Update(c } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Delete(c // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_feature_associate_routing_ospfv3_ipv6_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go index 0cf9d4a7..10120664 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateDHCPServerFeatureResource stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateDHCPServerFeatureResource return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateDHCPServerFeatureResource } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateDHCPServerFeatureResource } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateDHCPServerFeatureResource // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateDHCPServerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_interface_ethernet_feature_associate_dhcp_server_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + ",service_lan_vpn_interface_ethernet_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_interface_ethernet_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go index f0955c6a..5989b1d5 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) S stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) C return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) R } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) U } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) D // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_interface_ethernet_feature_associate_tracker_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + ",service_lan_vpn_interface_ethernet_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_interface_ethernet_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go index 6439ee1d..feb842bd 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureResour stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureResour return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureResour } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureResour } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureResour // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_interface_ethernet_feature_associate_tracker_group_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + ",service_lan_vpn_interface_ethernet_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_interface_ethernet_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go index 40c0eb70..63526e62 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNInterfaceIPSecFeatureAssociateDHCPServerFeatureResource) S stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *ServiceLANVPNInterfaceIPSecFeatureAssociateDHCPServerFeatureResource) C return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *ServiceLANVPNInterfaceIPSecFeatureAssociateDHCPServerFeatureResource) R } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *ServiceLANVPNInterfaceIPSecFeatureAssociateDHCPServerFeatureResource) U } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *ServiceLANVPNInterfaceIPSecFeatureAssociateDHCPServerFeatureResource) D // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNInterfaceIPSecFeatureAssociateDHCPServerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_interface_ipsec_feature_associate_dhcp_server_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + ",service_lan_vpn_interface_ipsec_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_interface_ipsec_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go b/internal/provider/resource_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go index 45430ef5..15887732 100644 --- a/internal/provider/resource_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go +++ b/internal/provider/resource_sdwan_service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature.go @@ -70,6 +70,10 @@ func (r *ServiceLANVPNInterfaceSVIFeatureAssociateDHCPServerFeatureResource) Sch stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *ServiceLANVPNInterfaceSVIFeatureAssociateDHCPServerFeatureResource) Cre return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *ServiceLANVPNInterfaceSVIFeatureAssociateDHCPServerFeatureResource) Rea } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *ServiceLANVPNInterfaceSVIFeatureAssociateDHCPServerFeatureResource) Upd } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *ServiceLANVPNInterfaceSVIFeatureAssociateDHCPServerFeatureResource) Del // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *ServiceLANVPNInterfaceSVIFeatureAssociateDHCPServerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "service_lan_vpn_interface_svi_feature_associate_dhcp_server_feature_id" + ",feature_profile_id" + ",service_lan_vpn_feature_id" + ",service_lan_vpn_interface_svi_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("service_lan_vpn_interface_svi_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go index ad16a5e5..6c90d22f 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_bgp_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNFeatureAssociateRoutingBGPFeatureResource) Schema(ctx co stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *TransportWANVPNFeatureAssociateRoutingBGPFeatureResource) Create(ctx co return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *TransportWANVPNFeatureAssociateRoutingBGPFeatureResource) Read(ctx cont } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *TransportWANVPNFeatureAssociateRoutingBGPFeatureResource) Update(ctx co } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *TransportWANVPNFeatureAssociateRoutingBGPFeatureResource) Delete(ctx co // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNFeatureAssociateRoutingBGPFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_feature_associate_routing_bgp_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go index 70b6d1b8..9d552f77 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospf_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFFeatureResource) Schema(ctx c stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFFeatureResource) Create(ctx c return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFFeatureResource) Read(ctx con } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFFeatureResource) Update(ctx c } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFFeatureResource) Delete(ctx c // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNFeatureAssociateRoutingOSPFFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_feature_associate_routing_ospf_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go index c2ef2416..e5b1860c 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Schema stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Create return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Read(c } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Update } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) Delete // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv4FeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_feature_associate_routing_ospfv3_ipv4_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go index e656ae2c..de47fde4 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Schema stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -117,6 +121,7 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Create return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -149,6 +154,9 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Read(c } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -195,6 +203,7 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Update } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -232,7 +241,20 @@ func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) Delete // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNFeatureAssociateRoutingOSPFv3IPv6FeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 2 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_feature_associate_routing_ospfv3_ipv6_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go index d5177981..76579dd6 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerFeatureResource) stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerFeatureResource) return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerFeatureResource) } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerFeatureResource) } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerFeatureResource) // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_interface_cellular_feature_associate_tracker_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + ",transport_wan_vpn_interface_cellular_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_interface_cellular_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go index 0bf4f4c2..4de53ee1 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerGroupFeatureReso stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerGroupFeatureReso return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerGroupFeatureReso } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerGroupFeatureReso } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerGroupFeatureReso // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNInterfaceCellularFeatureAssociateTrackerGroupFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_interface_cellular_feature_associate_tracker_group_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + ",transport_wan_vpn_interface_cellular_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_interface_cellular_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go index 9dfab62e..58964c0a 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerFeatureResou stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerFeatureResou return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerFeatureResou } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerFeatureResou } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerFeatureResou // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + ",transport_wan_vpn_interface_ethernet_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_interface_ethernet_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go index cb4dcba2..55aea431 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerGroupFeature stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerGroupFeature return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerGroupFeature } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerGroupFeature } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerGroupFeature // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNInterfaceEthernetFeatureAssociateIPv6TrackerGroupFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_interface_ethernet_feature_associate_ipv6_tracker_group_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + ",transport_wan_vpn_interface_ethernet_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_interface_ethernet_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go index f95cfa13..a8b521cb 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_interface_ethernet_feature_associate_tracker_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + ",transport_wan_vpn_interface_ethernet_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_interface_ethernet_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go index 2aacce9f..9656ed55 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureReso stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureReso return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureReso } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureReso } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureReso // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNInterfaceEthernetFeatureAssociateTrackerGroupFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_interface_ethernet_feature_associate_tracker_group_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + ",transport_wan_vpn_interface_ethernet_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_interface_ethernet_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go index 89c63a30..667a5c0b 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_interface_gre_feature_associate_tracker_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNInterfaceGREFeatureAssociateTrackerFeatureResource) Sche stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *TransportWANVPNInterfaceGREFeatureAssociateTrackerFeatureResource) Crea return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *TransportWANVPNInterfaceGREFeatureAssociateTrackerFeatureResource) Read } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *TransportWANVPNInterfaceGREFeatureAssociateTrackerFeatureResource) Upda } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *TransportWANVPNInterfaceGREFeatureAssociateTrackerFeatureResource) Dele // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNInterfaceGREFeatureAssociateTrackerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_interface_gre_feature_associate_tracker_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + ",transport_wan_vpn_interface_gre_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_interface_gre_feature_id"), parts[3])...) } // End of section. //template:end import diff --git a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go index 6412e70d..462321df 100644 --- a/internal/provider/resource_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go +++ b/internal/provider/resource_sdwan_transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature.go @@ -70,6 +70,10 @@ func (r *TransportWANVPNInterfaceIPSECFeatureAssociateTrackerFeatureResource) Sc stringplanmodifier.UseStateForUnknown(), }, }, + "version": schema.Int64Attribute{ + MarkdownDescription: "The version of the object", + Computed: true, + }, "feature_profile_id": schema.StringAttribute{ MarkdownDescription: helpers.NewAttributeDescription("Feature Profile ID").String, Required: true, @@ -121,6 +125,7 @@ func (r *TransportWANVPNInterfaceIPSECFeatureAssociateTrackerFeatureResource) Cr return } plan.Id = types.StringValue(res.Get("parcelId").String()) + plan.Version = types.Int64Value(0) tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Id.ValueString())) @@ -153,6 +158,9 @@ func (r *TransportWANVPNInterfaceIPSECFeatureAssociateTrackerFeatureResource) Re } state.fromBody(ctx, res) + if state.Version.IsNull() { + state.Version = types.Int64Value(0) + } tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Id.ValueString())) @@ -199,6 +207,7 @@ func (r *TransportWANVPNInterfaceIPSECFeatureAssociateTrackerFeatureResource) Up } else { tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Id.ValueString())) } + plan.Version = types.Int64Value(state.Version.ValueInt64() + 1) tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Id.ValueString())) @@ -236,7 +245,21 @@ func (r *TransportWANVPNInterfaceIPSECFeatureAssociateTrackerFeatureResource) De // Section below is generated&owned by "gen/generator.go". //template:begin import func (r *TransportWANVPNInterfaceIPSECFeatureAssociateTrackerFeatureResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { - resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) + count := 3 + parts := strings.SplitN(req.ID, ",", (count + 1)) + + pattern := "transport_wan_vpn_interface_ipsec_feature_associate_tracker_feature_id" + ",feature_profile_id" + ",transport_wan_vpn_feature_id" + ",transport_wan_vpn_interface_ipsec_feature_id" + if len(parts) != (count + 1) { + resp.Diagnostics.AddError( + "Unexpected Import Identifier", fmt.Sprintf("Expected import identifier with the format: %s. Got: %q", pattern, req.ID), + ) + return + } + + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), parts[0])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("feature_profile_id"), parts[1])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_feature_id"), parts[2])...) + resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("transport_wan_vpn_interface_ipsec_feature_id"), parts[3])...) } // End of section. //template:end import