Skip to content

Commit e86a92d

Browse files
committed
Add identity source sequence resource
1 parent c4ab8bb commit e86a92d

File tree

15 files changed

+967
-0
lines changed

15 files changed

+967
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 0.1.9 (unreleased)
22

33
- Fix issue with `ise_network_device_group` resource and ISE versions >= 3.2.0 Patch1. Due to a breaking change in the API, this resource is now only supported with ISE version >= 3.2.0 Patch1.
4+
- Add `ise_identity_source_sequence` resource and data source
45

56
## 0.1.8
67

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "ise_identity_source_sequence Data Source - terraform-provider-ise"
4+
subcategory: "Identity Management"
5+
description: |-
6+
This data source can read the Identity Source Sequence.
7+
---
8+
9+
# ise_identity_source_sequence (Data Source)
10+
11+
This data source can read the Identity Source Sequence.
12+
13+
## Example Usage
14+
15+
```terraform
16+
data "ise_identity_source_sequence" "example" {
17+
id = "76d24097-41c4-4558-a4d0-a8c07ac08470"
18+
}
19+
```
20+
21+
<!-- schema generated by tfplugindocs -->
22+
## Schema
23+
24+
### Optional
25+
26+
- `id` (String) The id of the object
27+
- `name` (String) The name of the identity source sequence
28+
29+
### Read-Only
30+
31+
- `break_on_store_fail` (Boolean) Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication
32+
- `certificate_authentication_profile` (String) Certificate Authentication Profile, empty if doesn't exist
33+
- `description` (String) Description
34+
- `identity_sources` (Attributes List) (see [below for nested schema](#nestedatt--identity_sources))
35+
36+
<a id="nestedatt--identity_sources"></a>
37+
### Nested Schema for `identity_sources`
38+
39+
Read-Only:
40+
41+
- `name` (String) Name of the identity source
42+
- `order` (Number) Order of the identity source in the sequence

docs/guides/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ description: |-
1010
## 0.1.9 (unreleased)
1111

1212
- Fix issue with `ise_network_device_group` resource and ISE versions >= 3.2.0 Patch1. Due to a breaking change in the API, this resource is now only supported with ISE version >= 3.2.0 Patch1.
13+
- Add `ise_identity_source_sequence` resource and data source
1314

1415
## 0.1.8
1516

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "ise_identity_source_sequence Resource - terraform-provider-ise"
4+
subcategory: "Identity Management"
5+
description: |-
6+
This resource can manage an Identity Source Sequence.
7+
---
8+
9+
# ise_identity_source_sequence (Resource)
10+
11+
This resource can manage an Identity Source Sequence.
12+
13+
## Example Usage
14+
15+
```terraform
16+
resource "ise_identity_source_sequence" "example" {
17+
name = "Sequence1"
18+
description = "My identity source sequence"
19+
break_on_store_fail = true
20+
certificate_authentication_profile = "Global_Certificate"
21+
identity_sources = [
22+
{
23+
name = "Internal Users"
24+
order = 1
25+
}
26+
]
27+
}
28+
```
29+
30+
<!-- schema generated by tfplugindocs -->
31+
## Schema
32+
33+
### Required
34+
35+
- `break_on_store_fail` (Boolean) Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication
36+
- `certificate_authentication_profile` (String) Certificate Authentication Profile, empty if doesn't exist
37+
- `identity_sources` (Attributes List) (see [below for nested schema](#nestedatt--identity_sources))
38+
- `name` (String) The name of the identity source sequence
39+
40+
### Optional
41+
42+
- `description` (String) Description
43+
44+
### Read-Only
45+
46+
- `id` (String) The id of the object
47+
48+
<a id="nestedatt--identity_sources"></a>
49+
### Nested Schema for `identity_sources`
50+
51+
Required:
52+
53+
- `name` (String) Name of the identity source
54+
- `order` (Number) Order of the identity source in the sequence
55+
56+
## Import
57+
58+
Import is supported using the following syntax:
59+
60+
```shell
61+
terraform import ise_identity_source_sequence.example "76d24097-41c4-4558-a4d0-a8c07ac08470"
62+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
data "ise_identity_source_sequence" "example" {
2+
id = "76d24097-41c4-4558-a4d0-a8c07ac08470"
3+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
terraform import ise_identity_source_sequence.example "76d24097-41c4-4558-a4d0-a8c07ac08470"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
resource "ise_identity_source_sequence" "example" {
2+
name = "Sequence1"
3+
description = "My identity source sequence"
4+
break_on_store_fail = true
5+
certificate_authentication_profile = "Global_Certificate"
6+
identity_sources = [
7+
{
8+
name = "Internal Users"
9+
order = 1
10+
}
11+
]
12+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Identity Source Sequence
3+
rest_endpoint: /ers/config/idstoresequence
4+
data_source_name_query: true
5+
doc_category: Identity Management
6+
attributes:
7+
- model_name: name
8+
data_path: [IdStoreSequence]
9+
type: String
10+
mandatory: true
11+
description: The name of the identity source sequence
12+
example: Sequence1
13+
- model_name: description
14+
data_path: [IdStoreSequence]
15+
type: String
16+
description: Description
17+
example: My identity source sequence
18+
- model_name: breakOnStoreFail
19+
data_path: [IdStoreSequence]
20+
type: Bool
21+
mandatory: true
22+
description: Do not access other stores in the sequence if a selected identity store cannot be accessed for authentication
23+
example: true
24+
- model_name: certificateAuthenticationProfile
25+
data_path: [IdStoreSequence]
26+
type: String
27+
mandatory: true
28+
description: Certificate Authentication Profile, empty if doesn't exist
29+
example: Global_Certificate
30+
- model_name: idSeqItem
31+
data_path: [IdStoreSequence]
32+
tf_name: identity_sources
33+
type: List
34+
mandatory: true
35+
attributes:
36+
- model_name: idstore
37+
tf_name: name
38+
type: String
39+
mandatory: true
40+
description: Name of the identity source
41+
example: Internal Users
42+
- model_name: order
43+
type: Int64
44+
mandatory: true
45+
description: Order of the identity source in the sequence
46+
example: 1

internal/provider/data_source_ise_identity_source_sequence.go

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

0 commit comments

Comments
 (0)