-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add trustsec resources and data sources (#5)
- Loading branch information
1 parent
84a901a
commit c41805a
Showing
53 changed files
with
2,521 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_trustsec_egress_matrix_cell Data Source - terraform-provider-ise" | ||
subcategory: "TrustSec" | ||
description: |- | ||
This data source can read the TrustSec Egress Matrix Cell. | ||
--- | ||
|
||
# ise_trustsec_egress_matrix_cell (Data Source) | ||
|
||
This data source can read the TrustSec Egress Matrix Cell. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "ise_trustsec_egress_matrix_cell" "example" { | ||
id = "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `id` (String) The id of the object | ||
|
||
### Read-Only | ||
|
||
- `default_rule` (String) Can be used only if sgacls not specified. | ||
- `description` (String) Description | ||
- `destination_sgt_id` (String) Destination Trustsec Security Group ID | ||
- `matrix_cell_status` (String) Matrix Cell Status | ||
- `sgacls` (List of String) List of TrustSec Security Groups ACLs | ||
- `source_sgt_id` (String) Source Trustsec Security Group ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_trustsec_security_group_acl Data Source - terraform-provider-ise" | ||
subcategory: "TrustSec" | ||
description: |- | ||
This data source can read the TrustSec Security Group ACL. | ||
--- | ||
|
||
# ise_trustsec_security_group_acl (Data Source) | ||
|
||
This data source can read the TrustSec Security Group ACL. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "ise_trustsec_security_group_acl" "example" { | ||
id = "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `id` (String) The id of the object | ||
|
||
### Read-Only | ||
|
||
- `acl_content` (String) Content of ACL | ||
- `description` (String) Description | ||
- `ip_version` (String) IP Version | ||
- `name` (String) The name of the security group ACL | ||
- `read_only` (Boolean) Read-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_trustsec_egress_matrix_cell Resource - terraform-provider-ise" | ||
subcategory: "TrustSec" | ||
description: |- | ||
This resource can manage a TrustSec Egress Matrix Cell. | ||
--- | ||
|
||
# ise_trustsec_egress_matrix_cell (Resource) | ||
|
||
This resource can manage a TrustSec Egress Matrix Cell. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "ise_trustsec_egress_matrix_cell" "example" { | ||
description = "EgressMatrixCell Description" | ||
matrix_cell_status = "ENABLED" | ||
sgacls = ["26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a,9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"] | ||
source_sgt_id = "93c66ed0-8c01-11e6-996c-525400b48521" | ||
destination_sgt_id = "93e1bf00-8c01-11e6-996c-525400b48521" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### 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 | ||
|
||
- `default_rule` (String) Can be used only if sgacls not specified. | ||
- Choices: `NONE`, `DENY_IP`, `PERMIT_IP` | ||
- Default value: `NONE` | ||
- `description` (String) Description | ||
- `matrix_cell_status` (String) Matrix Cell Status | ||
- Choices: `DISABLED`, `ENABLED`, `MONITOR` | ||
- Default value: `DISABLED` | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the object | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import ise_trustsec_egress_matrix_cell.example "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "ise_trustsec_security_group_acl Resource - terraform-provider-ise" | ||
subcategory: "TrustSec" | ||
description: |- | ||
This resource can manage a TrustSec Security Group ACL. | ||
--- | ||
|
||
# ise_trustsec_security_group_acl (Resource) | ||
|
||
This resource can manage a TrustSec Security Group ACL. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "ise_trustsec_security_group_acl" "example" { | ||
name = "ACL1" | ||
description = "SG ACL 1" | ||
acl_content = "Permit IP" | ||
ip_version = "IPV4" | ||
read_only = false | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `acl_content` (String) Content of ACL | ||
- `name` (String) The name of the security group ACL | ||
|
||
### Optional | ||
|
||
- `description` (String) Description | ||
- `ip_version` (String) IP Version | ||
- Choices: `IPV4`, `IPV6`, `IP_AGNOSTIC` | ||
- Default value: `IPV4` | ||
- `read_only` (Boolean) Read-only | ||
- Default value: `false` | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The id of the object | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import ise_trustsec_security_group_acl.example "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
``` |
3 changes: 3 additions & 0 deletions
3
examples/data-sources/ise_trustsec_egress_matrix_cell/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
data "ise_trustsec_egress_matrix_cell" "example" { | ||
id = "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
} |
3 changes: 3 additions & 0 deletions
3
examples/data-sources/ise_trustsec_security_group_acl/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
data "ise_trustsec_security_group_acl" "example" { | ||
id = "76d24097-41c4-4558-a4d0-a8c07ac08470" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
terraform import ise_trustsec_egress_matrix_cell.example "76d24097-41c4-4558-a4d0-a8c07ac08470" |
7 changes: 7 additions & 0 deletions
7
examples/resources/ise_trustsec_egress_matrix_cell/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
resource "ise_trustsec_egress_matrix_cell" "example" { | ||
description = "EgressMatrixCell Description" | ||
matrix_cell_status = "ENABLED" | ||
sgacls = ["26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a,9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"] | ||
source_sgt_id = "93c66ed0-8c01-11e6-996c-525400b48521" | ||
destination_sgt_id = "93e1bf00-8c01-11e6-996c-525400b48521" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
terraform import ise_trustsec_security_group_acl.example "76d24097-41c4-4558-a4d0-a8c07ac08470" |
Oops, something went wrong.