Skip to content

Commit 3d1f1af

Browse files
Nested children fix (#143)
* fixes * add immutable to needed models --------- Co-authored-by: kuba-mazurkiewicz <[email protected]>
1 parent 64b6e89 commit 3d1f1af

30 files changed

+1118
-1375
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.10 (unreleased)
2+
3+
- Fix issue with children blocks not working properly with List and Set, [link](https://github.com/CiscoDevNet/terraform-provider-ise/issues/138)
4+
15
## 0.2.9
26

37
- Change `children` attribute type from `Attributes Set` to `Attributes List` on all relevant resources

docs/guides/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ description: |-
77

88
# Changelog
99

10+
## 0.2.10 (unreleased)
11+
12+
- Fix issue with children blocks not working properly with List and Set, [link](https://github.com/CiscoDevNet/terraform-provider-ise/issues/138)
13+
1014
## 0.2.9
1115

1216
- Change `children` attribute type from `Attributes Set` to `Attributes List` on all relevant resources

gen/definitions/device_admin_authentication_rule.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ attributes:
117117
example: equals
118118
- model_name: children
119119
type: Set
120+
immutable: true
120121
description: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
121122
exclude_test: true
122123
data_path: [rule, condition]

gen/definitions/device_admin_authorization_exception_rule.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ attributes:
115115
example: equals
116116
- model_name: children
117117
type: Set
118+
immutable: true
118119
description: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
119120
exclude_test: true
120121
data_path: [rule, condition]

gen/definitions/device_admin_authorization_global_exception_rule.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ attributes:
104104
example: equals
105105
- model_name: children
106106
type: Set
107+
immutable: true
107108
description: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
108109
exclude_test: true
109110
data_path: [rule, condition]

gen/definitions/device_admin_authorization_rule.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ attributes:
117117
example: equals
118118
- model_name: children
119119
type: Set
120+
immutable: true
120121
description: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
121122
exclude_test: true
122123
data_path: [rule, condition]

gen/definitions/device_admin_condition.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ attributes:
7878
minimum_test_value: '"equals"'
7979
- model_name: children
8080
type: Set
81+
immutable: true
8182
description: List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
8283
exclude_test: true
8384
attributes:

gen/definitions/device_admin_policy_set.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ attributes:
121121
example: equals
122122
- model_name: children
123123
type: Set
124+
immutable: true
124125
description: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
125126
exclude_test: true
126127
data_path: [condition]

gen/definitions/network_access_authentication_rule.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ attributes:
117117
example: equals
118118
- model_name: children
119119
type: Set
120+
immutable: true
120121
description: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
121122
exclude_test: true
122123
data_path: [rule, condition]

gen/definitions/network_access_authorization_exception_rule.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ attributes:
115115
example: equals
116116
- model_name: children
117117
type: Set
118+
immutable: true
118119
description: List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
119120
exclude_test: true
120121
data_path: [rule, condition]

0 commit comments

Comments
 (0)