Skip to content

Commit 262fb99

Browse files
committed
Fix issue with service tloc lists of data policies
1 parent 8ea89eb commit 262fb99

File tree

7 files changed

+15
-12
lines changed

7 files changed

+15
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- Fix idempotency issue with DNS redirect configuration of `sdwan_traffic_data_policy_definition` resource
44
- Add option to select both `gre` and `ipsec` encaps for local TLOC set action of `sdwan_traffic_data_policy_definition` resource
55
- Fix issue with `exportTo` action entry of `sdwan_custom_control_topology_policy_definition` resource
6+
- Fix issue with service TLOC lists of `sdwan_traffic_data_policy_definition` resource
67

78
## 0.3.0
89

docs/guides/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ description: |-
1212
- Fix idempotency issue with DNS redirect configuration of `sdwan_traffic_data_policy_definition` resource
1313
- Add option to select both `gre` and `ipsec` encaps for local TLOC set action of `sdwan_traffic_data_policy_definition` resource
1414
- Fix issue with `exportTo` action entry of `sdwan_custom_control_topology_policy_definition` resource
15+
- Fix issue with service TLOC lists of `sdwan_traffic_data_policy_definition` resource
1516

1617
## 0.3.0
1718

docs/resources/traffic_data_policy_definition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Optional:
154154
- `preferred_color_group_list_version` (Number) Preferred color group list version
155155
- `service_tloc_color` (String) Service TLOC color
156156
- `service_tloc_encapsulation` (String) Service TLOC encapsulation
157-
- Choices: `ipsec`, `gre`
157+
- Choices: `ipsec`, `gre`, `ipsec gre`
158158
- `service_tloc_ip` (String) Service TLOC IP address
159159
- `service_tloc_list_id` (String) Service TLOC list ID
160160
- `service_tloc_list_version` (Number) Service TLOC list version
@@ -166,7 +166,7 @@ Optional:
166166
- Range: `0`-`65536`
167167
- `tloc_color` (String) TLOC color
168168
- `tloc_encapsulation` (String) TLOC encapsulation
169-
- Choices: `ipsec`, `gre`
169+
- Choices: `ipsec`, `gre`, `ipsec gre`
170170
- `tloc_ip` (String) TLOC IP address
171171
- `tloc_list_id` (String) TLOC list ID
172172
- `tloc_list_version` (Number) TLOC list version

gen/definitions/generic/traffic_data_policy_definition.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ attributes:
637637
name: type
638638
value: tloc
639639
type: String
640-
enum_values: [ipsec, gre]
640+
enum_values: [ipsec, gre, "ipsec gre"]
641641
description: TLOC encapsulation
642642
example: ipsec
643643
exclude_test: true
@@ -666,8 +666,8 @@ attributes:
666666
max_int: 65536
667667
example: 100
668668
exclude_test: true
669-
- model_name: tlocList
670-
data_path: [value]
669+
- model_name: ref
670+
data_path: [value, tlocList]
671671
tf_name: service_tloc_list_id
672672
conditional_attribute:
673673
name: type
@@ -730,7 +730,7 @@ attributes:
730730
name: type
731731
value: service
732732
type: String
733-
enum_values: [ipsec, gre]
733+
enum_values: [ipsec, gre, "ipsec gre"]
734734
description: Service TLOC encapsulation
735735
example: ipsec
736736
exclude_test: true

internal/provider/model_sdwan_traffic_data_policy_definition.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/resource_sdwan_traffic_data_policy_definition.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/guides/changelog.md.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ description: |-
1212
- Fix idempotency issue with DNS redirect configuration of `sdwan_traffic_data_policy_definition` resource
1313
- Add option to select both `gre` and `ipsec` encaps for local TLOC set action of `sdwan_traffic_data_policy_definition` resource
1414
- Fix issue with `exportTo` action entry of `sdwan_custom_control_topology_policy_definition` resource
15+
- Fix issue with service TLOC lists of `sdwan_traffic_data_policy_definition` resource
1516

1617
## 0.3.0
1718

0 commit comments

Comments
 (0)