Skip to content

Commit c09051b

Browse files
committed
Fix issue with nested conditions
1 parent a44f3fb commit c09051b

File tree

8 files changed

+27
-16
lines changed

8 files changed

+27
-16
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.1 (unreleased)
2+
3+
- Fix issue with nested conditions using `ise_network_access_condition` resource
4+
15
## 0.1.0
26

37
- Initial Release

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.1.1 (unreleased)
11+
12+
- Fix issue with nested conditions using `ise_network_access_condition` resource
13+
1014
## 0.1.0
1115

1216
- Initial Release

docs/resources/network_access_condition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Required:
5757

5858
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
5959
- Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
60-
- `name` (String) Condition name
6160

6261
Optional:
6362

@@ -69,6 +68,7 @@ Optional:
6968
- `dictionary_value` (String) Dictionary value
7069
- `id` (String) UUID for condition
7170
- `is_negate` (Boolean) Indicates whereas this condition is in negate mode
71+
- `name` (String) Condition name
7272
- `operator` (String) Equality operator
7373
- Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
7474

@@ -79,7 +79,6 @@ Required:
7979

8080
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
8181
- Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
82-
- `name` (String) Condition name
8382

8483
Optional:
8584

@@ -90,6 +89,7 @@ Optional:
9089
- `dictionary_value` (String) Dictionary value
9190
- `id` (String) UUID for condition
9291
- `is_negate` (Boolean) Indicates whereas this condition is in negate mode
92+
- `name` (String) Condition name
9393
- `operator` (String) Equality operator
9494
- Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
9595

gen/definitions/network_access_condition.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ attributes:
5656
attributes:
5757
- model_name: name
5858
type: String
59-
id: true
6059
description: Condition name
6160
example: Cond1
6261
- model_name: description
@@ -107,7 +106,6 @@ attributes:
107106
attributes:
108107
- model_name: name
109108
type: String
110-
id: true
111109
description: Condition name
112110
example: Cond1
113111
- model_name: description

gen/templates/model.go

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

internal/provider/model_ise_network_access_condition.go

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

internal/provider/resource_ise_network_access_condition.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.

templates/guides/changelog.md.tmpl

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.1.1 (unreleased)
11+
12+
- Fix issue with nested conditions using `ise_network_access_condition` resource
13+
1014
## 0.1.0
1115

1216
- Initial Release

0 commit comments

Comments
 (0)