From d36ffbe9c02a4aa2ac9db5cda50797177b7f3f68 Mon Sep 17 00:00:00 2001 From: danischm Date: Thu, 31 Oct 2024 12:47:48 +0100 Subject: [PATCH] Update guides --- docs/guides/configuration_groups.md | 3 ++- docs/index.md | 2 ++ examples/basic/configuration_groups/main.tf | 1 + templates/guides/configuration_groups.md.tmpl | 3 ++- templates/index.md.tmpl | 2 ++ 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/guides/configuration_groups.md b/docs/guides/configuration_groups.md index 107063231..4c9b843c3 100644 --- a/docs/guides/configuration_groups.md +++ b/docs/guides/configuration_groups.md @@ -129,12 +129,13 @@ resource "sdwan_configuration_group" "config_group_01" { sdwan_system_global_feature.system_01_global.version, sdwan_system_logging_feature.system_01_logging.version, sdwan_system_omp_feature.system_01_omp.version, + sdwan_transport_wan_vpn_feature.transport_01_wan_vpn.version, sdwan_transport_wan_vpn_interface_ethernet_feature.transport_01_wan_vpn_interface_ethernet.version, ] } ``` -Please note, at the end of the configuration group configuration, we need to provide a list of references to the `version` attribute of all used features. This is important in order to trigger a re-deployment of the configuration group in case any of the feature configurations change and is also required to ensure that the configuration group is always deployed *after* potential changes to any of the feature have been made. +Please note, at the end of the configuration group configuration, we need to provide a list of references to the `version` attribute of all used features. This is important in order to trigger a re-deployment of the configuration group in case any of the feature configurations change and is also required to ensure that the configuration group is always deployed *after* potential changes to any of the features have been made. We can now simulate a change to a feature that is already deployed to a device, by for example modifying the password of the AAA feature resource. diff --git a/docs/index.md b/docs/index.md index 06e022509..dcd590b9a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -22,6 +22,8 @@ All resources and data sources have been tested with the following releases. The following guides with examples exist to demonstrate the use of the provider: - [Getting Started](https://registry.terraform.io/providers/CiscoDevNet/sdwan/latest/docs/guides/getting_started) +- [Updating Templates](https://registry.terraform.io/providers/CiscoDevNet/sdwan/latest/docs/guides/updating_templates) +- [Configuration Groups](https://registry.terraform.io/providers/CiscoDevNet/sdwan/latest/docs/guides/configuration_groups) ## Example Usage diff --git a/examples/basic/configuration_groups/main.tf b/examples/basic/configuration_groups/main.tf index 49a8be403..934d14371 100644 --- a/examples/basic/configuration_groups/main.tf +++ b/examples/basic/configuration_groups/main.tf @@ -109,6 +109,7 @@ resource "sdwan_configuration_group" "config_group_01" { sdwan_system_global_feature.system_01_global.version, sdwan_system_logging_feature.system_01_logging.version, sdwan_system_omp_feature.system_01_omp.version, + sdwan_transport_wan_vpn_feature.transport_01_wan_vpn.version, sdwan_transport_wan_vpn_interface_ethernet_feature.transport_01_wan_vpn_interface_ethernet.version, ] } diff --git a/templates/guides/configuration_groups.md.tmpl b/templates/guides/configuration_groups.md.tmpl index 107063231..4c9b843c3 100644 --- a/templates/guides/configuration_groups.md.tmpl +++ b/templates/guides/configuration_groups.md.tmpl @@ -129,12 +129,13 @@ resource "sdwan_configuration_group" "config_group_01" { sdwan_system_global_feature.system_01_global.version, sdwan_system_logging_feature.system_01_logging.version, sdwan_system_omp_feature.system_01_omp.version, + sdwan_transport_wan_vpn_feature.transport_01_wan_vpn.version, sdwan_transport_wan_vpn_interface_ethernet_feature.transport_01_wan_vpn_interface_ethernet.version, ] } ``` -Please note, at the end of the configuration group configuration, we need to provide a list of references to the `version` attribute of all used features. This is important in order to trigger a re-deployment of the configuration group in case any of the feature configurations change and is also required to ensure that the configuration group is always deployed *after* potential changes to any of the feature have been made. +Please note, at the end of the configuration group configuration, we need to provide a list of references to the `version` attribute of all used features. This is important in order to trigger a re-deployment of the configuration group in case any of the feature configurations change and is also required to ensure that the configuration group is always deployed *after* potential changes to any of the features have been made. We can now simulate a change to a feature that is already deployed to a device, by for example modifying the password of the AAA feature resource. diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index c58ea6303..557481763 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -22,6 +22,8 @@ All resources and data sources have been tested with the following releases. The following guides with examples exist to demonstrate the use of the provider: - [Getting Started](https://registry.terraform.io/providers/CiscoDevNet/sdwan/latest/docs/guides/getting_started) +- [Updating Templates](https://registry.terraform.io/providers/CiscoDevNet/sdwan/latest/docs/guides/updating_templates) +- [Configuration Groups](https://registry.terraform.io/providers/CiscoDevNet/sdwan/latest/docs/guides/configuration_groups) ## Example Usage