Skip to content

Commit

Permalink
Update guides
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Oct 31, 2024
1 parent 4e59b93 commit d36ffbe
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/guides/configuration_groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions examples/basic/configuration_groups/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
}
3 changes: 2 additions & 1 deletion templates/guides/configuration_groups.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 2 additions & 0 deletions templates/index.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d36ffbe

Please sign in to comment.