Skip to content

Commit

Permalink
Fix issue with nested conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Oct 5, 2023
1 parent a44f3fb commit c09051b
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.1 (unreleased)

- Fix issue with nested conditions using `ise_network_access_condition` resource

## 0.1.0

- Initial Release
4 changes: 4 additions & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: |-

# Changelog

## 0.1.1 (unreleased)

- Fix issue with nested conditions using `ise_network_access_condition` resource

## 0.1.0

- Initial Release
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/network_access_condition.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ Required:

- `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.
- Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
- `name` (String) Condition name

Optional:

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

Expand All @@ -79,7 +79,6 @@ Required:

- `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.
- Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
- `name` (String) Condition name

Optional:

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

Expand Down
2 changes: 0 additions & 2 deletions gen/definitions/network_access_condition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ attributes:
attributes:
- model_name: name
type: String
id: true
description: Condition name
example: Cond1
- model_name: description
Expand Down Expand Up @@ -107,7 +106,6 @@ attributes:
attributes:
- model_name: name
type: String
id: true
description: Condition name
example: Cond1
- model_name: description
Expand Down
12 changes: 6 additions & 6 deletions gen/templates/model.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions internal/provider/model_ise_network_access_condition.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/provider/resource_ise_network_access_condition.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions templates/guides/changelog.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: |-

# Changelog

## 0.1.1 (unreleased)

- Fix issue with nested conditions using `ise_network_access_condition` resource

## 0.1.0

- Initial Release
Expand Down

0 comments on commit c09051b

Please sign in to comment.