Skip to content

Commit 928e636

Browse files
committed
Remove expiry date attributes from internal user resource
1 parent 335577d commit 928e636

File tree

12 files changed

+18
-77
lines changed

12 files changed

+18
-77
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- Fix issue with reading nested conditions using `ise_network_access_condition` resource
44
- Add support for nested conditions to `ise_network_access_policy_set` resource and data source
55
- Add `agentless_posture` attribute to `ise_authorization_profile` resource and data source
6-
- Add `identity_groups`, `custom_attributes`, `expiry_date_enabled` and `expiry_date` attributes to `ise_internal_user` resource and data source
6+
- Add `identity_groups` and `custom_attributes` attributes to `ise_internal_user` resource and data source
77
- Add support for nested conditions to `ise_network_access_authentication_rule` resource and data source
88
- Add support for nested conditions to `ise_network_access_authorization_rule` resource and data source
99
- Add `ise_trustsec_egress_matrix_cell` resource and data source

docs/data-sources/internal_user.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ data "ise_internal_user" "example" {
3434
- `email` (String) Email address
3535
- `enable_password` (String) This field is added in ISE 2.0 to support TACACS+
3636
- `enabled` (Boolean) Whether the user is enabled/disabled
37-
- `expiry_date` (String) Password expiry date. It's format is = 'YYYY-MM-DD'
38-
- `expiry_date_enabled` (Boolean) Enable a password expiry date
3937
- `first_name` (String) First name of the internal user
4038
- `identity_groups` (String) Comma separated list of identity group IDs.
4139
- `last_name` (String) Last name of the internal user

docs/guides/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: |-
1212
- Fix issue with reading nested conditions using `ise_network_access_condition` resource
1313
- Add support for nested conditions to `ise_network_access_policy_set` resource and data source
1414
- Add `agentless_posture` attribute to `ise_authorization_profile` resource and data source
15-
- Add `identity_groups`, `custom_attributes`, `expiry_date_enabled` and `expiry_date` attributes to `ise_internal_user` resource and data source
15+
- Add `identity_groups` and `custom_attributes` attributes to `ise_internal_user` resource and data source
1616
- Add support for nested conditions to `ise_network_access_authentication_rule` resource and data source
1717
- Add support for nested conditions to `ise_network_access_authorization_rule` resource and data source
1818
- Add `ise_trustsec_egress_matrix_cell` resource and data source

docs/resources/internal_user.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ resource "ise_internal_user" "example" {
2525
first_name = "John"
2626
last_name = "Doe"
2727
password_id_store = "Internal Users"
28-
expiry_date_enabled = false
2928
description = "My first Terraform user"
3029
}
3130
```
@@ -48,9 +47,6 @@ resource "ise_internal_user" "example" {
4847
- `email` (String) Email address
4948
- `enable_password` (String) This field is added in ISE 2.0 to support TACACS+
5049
- `enabled` (Boolean) Whether the user is enabled/disabled
51-
- `expiry_date` (String) Password expiry date. It's format is = 'YYYY-MM-DD'
52-
- `expiry_date_enabled` (Boolean) Enable a password expiry date
53-
- Default value: `false`
5450
- `first_name` (String) First name of the internal user
5551
- `identity_groups` (String) Comma separated list of identity group IDs.
5652
- `last_name` (String) Last name of the internal user

examples/resources/ise_internal_user/resource.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ resource "ise_internal_user" "example" {
1010
first_name = "John"
1111
last_name = "Doe"
1212
password_id_store = "Internal Users"
13-
expiry_date_enabled = false
1413
description = "My first Terraform user"
1514
}

gen/definitions/internal_user.yaml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -80,25 +80,23 @@ attributes:
8080
description: The ID store where the internal user's password is kept
8181
default_value: Internal Users
8282
example: Internal Users
83-
- model_name: expiryDateEnabled
84-
data_path: [InternalUser]
85-
tf_name: expiry_date_enabled
86-
type: Bool
87-
description: Enable a password expiry date
88-
default_value: false
89-
example: false
90-
- model_name: expiryDate
91-
data_path: [InternalUser]
92-
tf_name: expiry_date
93-
type: String
94-
description: Password expiry date. It's format is = 'YYYY-MM-DD'
95-
example: "2024-12-11"
96-
exclude_test: true
83+
# expiryDate works with PUT but fails with POST
84+
# - model_name: expiryDateEnabled
85+
# data_path: [InternalUser]
86+
# tf_name: expiry_date_enabled
87+
# type: Bool
88+
# description: Enable a password expiry date
89+
# default_value: false
90+
# example: false
91+
# - model_name: expiryDate
92+
# data_path: [InternalUser]
93+
# tf_name: expiry_date
94+
# type: String
95+
# description: Password expiry date. It's format is = 'YYYY-MM-DD'
96+
# example: "2024-12-11"
97+
# exclude_test: true
9798
- model_name: description
9899
data_path: [InternalUser]
99100
type: String
100101
description: Description
101102
example: My first Terraform user
102-
103-
104-

internal/provider/data_source_ise_internal_user.go

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

internal/provider/data_source_ise_internal_user_test.go

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

internal/provider/model_ise_internal_user.go

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

internal/provider/resource_ise_internal_user.go

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

0 commit comments

Comments
 (0)