Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed sgacl mandatory attribute #10

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/resources/trustsec_egress_matrix_cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This resource can manage a TrustSec Egress Matrix Cell.
```terraform
resource "ise_trustsec_egress_matrix_cell" "example" {
description = "EgressMatrixCell Description"
default_rule = "NONE"
matrix_cell_status = "ENABLED"
sgacls = ["26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"]
source_sgt_id = "93c66ed0-8c01-11e6-996c-525400b48521"
Expand All @@ -28,7 +29,6 @@ resource "ise_trustsec_egress_matrix_cell" "example" {
### Required

- `destination_sgt_id` (String) Destination Trustsec Security Group ID
- `sgacls` (List of String) List of TrustSec Security Groups ACLs
- `source_sgt_id` (String) Source Trustsec Security Group ID

### Optional
Expand All @@ -40,6 +40,7 @@ resource "ise_trustsec_egress_matrix_cell" "example" {
- `matrix_cell_status` (String) Matrix Cell Status
- Choices: `DISABLED`, `ENABLED`, `MONITOR`
- Default value: `DISABLED`
- `sgacls` (List of String) List of TrustSec Security Groups ACLs

### Read-Only

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
resource "ise_trustsec_egress_matrix_cell" "example" {
description = "EgressMatrixCell Description"
default_rule = "NONE"
matrix_cell_status = "ENABLED"
sgacls = ["26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"]
source_sgt_id = "93c66ed0-8c01-11e6-996c-525400b48521"
Expand Down
5 changes: 2 additions & 3 deletions gen/definitions/trustsec_egress_matrix_cell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ attributes:
type: String
enum_values: [NONE, DENY_IP, PERMIT_IP]
description: "Can be used only if sgacls not specified."
example: "PERMIT_IP"
example: "NONE"
default_value: "NONE"
exclude_test: true
minimum_test_value: '"PERMIT_IP"'
- model_name: matrixCellStatus
data_path: [EgressMatrixCell]
type: String
Expand All @@ -28,7 +28,6 @@ attributes:
- model_name: sgacls
data_path: [EgressMatrixCell]
tf_name: sgacls
mandatory: true
type: StringList
test_value: "[ise_trustsec_security_group_acl.test.id]"
description: List of TrustSec Security Groups ACLs
Expand Down

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

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

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