You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
- Add support for `unenrollment_timeout` in `elasticstack_fleet_agent_policy` ([#1169](https://github.com/elastic/terraform-provider-elasticstack/issues/1169))
21
21
- Handle default value for `allow_restricted_indices` in `elasticstack_elasticsearch_security_api_key` ([#1315](https://github.com/elastic/terraform-provider-elasticstack/pull/1315))
22
22
- Fixed `nil` reference in kibana synthetics API client in case of response errors ([#1320](https://github.com/elastic/terraform-provider-elasticstack/pull/1320))
23
+
- Migrate `elasticstack_elasticsearch_security_role` resource to Terraform Plugin Framework ([#1330](https://github.com/elastic/terraform-provider-elasticstack/pull/1330))
Copy file name to clipboardExpand all lines: docs/resources/elasticsearch_security_role.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,21 +55,21 @@ output "role" {
55
55
56
56
### Optional
57
57
58
-
-`applications` (Block Set) A list of application privilege entries. (see [below for nested schema](#nestedblock--applications))
58
+
-`applications` (Attributes Set) A list of application privilege entries. (see [below for nested schema](#nestedatt--applications))
59
59
-`cluster` (Set of String) A list of cluster privileges. These privileges define the cluster level actions that users with this role are able to execute.
60
60
-`description` (String) The description of the role.
61
-
-`elasticsearch_connection` (Block List, Max: 1, Deprecated) Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead. (see [below for nested schema](#nestedblock--elasticsearch_connection))
61
+
-`elasticsearch_connection` (Block List, Deprecated) Elasticsearch connection configuration block. (see [below for nested schema](#nestedblock--elasticsearch_connection))
62
62
-`global` (String) An object defining global privileges.
63
-
-`indices` (Block Set) A list of indices permissions entries. (see [below for nested schema](#nestedblock--indices))
63
+
-`indices` (Attributes Set) A list of indices permissions entries. (see [below for nested schema](#nestedatt--indices))
64
64
-`metadata` (String) Optional meta-data.
65
-
-`remote_indices` (Block Set) A list of remote indices permissions entries. Remote indices are effective for remote clusters configured with the API key based model. They have no effect for remote clusters configured with the certificate based model. (see [below for nested schema](#nestedblock--remote_indices))
65
+
-`remote_indices` (Attributes Set) A list of remote indices permissions entries. Remote indices are effective for remote clusters configured with the API key based model. They have no effect for remote clusters configured with the certificate based model. (see [below for nested schema](#nestedatt--remote_indices))
66
66
-`run_as` (Set of String) A list of users that the owners of this role can impersonate.
67
67
68
68
### Read-Only
69
69
70
70
-`id` (String) Internal identifier of the resource
71
71
72
-
<aid="nestedblock--applications"></a>
72
+
<aid="nestedatt--applications"></a>
73
73
### Nested Schema for `applications`
74
74
75
75
Required:
@@ -100,7 +100,7 @@ Optional:
100
100
-`username` (String) Username to use for API authentication to Elasticsearch.
101
101
102
102
103
-
<aid="nestedblock--indices"></a>
103
+
<aid="nestedatt--indices"></a>
104
104
### Nested Schema for `indices`
105
105
106
106
Required:
@@ -111,10 +111,10 @@ Required:
111
111
Optional:
112
112
113
113
-`allow_restricted_indices` (Boolean) Include matching restricted indices in names parameter. Usage is strongly discouraged as it can grant unrestricted operations on critical data, make the entire system unstable or leak sensitive information.
114
-
-`field_security` (Block List, Max: 1) The document fields that the owners of the role have read access to. (see [below for nested schema](#nestedblock--indices--field_security))
114
+
-`field_security` (Attributes List) The document fields that the owners of the role have read access to. (see [below for nested schema](#nestedatt--indices--field_security))
115
115
-`query` (String) A search query that defines the documents the owners of the role have read access to.
116
116
117
-
<aid="nestedblock--indices--field_security"></a>
117
+
<aid="nestedatt--indices--field_security"></a>
118
118
### Nested Schema for `indices.field_security`
119
119
120
120
Optional:
@@ -124,7 +124,7 @@ Optional:
124
124
125
125
126
126
127
-
<aid="nestedblock--remote_indices"></a>
127
+
<aid="nestedatt--remote_indices"></a>
128
128
### Nested Schema for `remote_indices`
129
129
130
130
Required:
@@ -135,10 +135,10 @@ Required:
135
135
136
136
Optional:
137
137
138
-
-`field_security` (Block List, Max: 1) The document fields that the owners of the role have read access to. (see [below for nested schema](#nestedblock--remote_indices--field_security))
138
+
-`field_security` (Attributes List) The document fields that the owners of the role have read access to. (see [below for nested schema](#nestedatt--remote_indices--field_security))
139
139
-`query` (String) A search query that defines the documents the owners of the role have read access to.
0 commit comments