Commit 8e9a240
Migrate elasticstack_elasticsearch_security_role resource to Plugin Framework (#1331)
* Initial plan
* Implement Plugin Framework role resource structure and basic functionality
Co-authored-by: tobio <444668+tobio@users.noreply.github.com>
* Complete Plugin Framework role resource migration with documentation
Co-authored-by: tobio <444668+tobio@users.noreply.github.com>
* Address PR feedback: use jsontypes, remove redundant code, add helper functions
Co-authored-by: tobio <444668+tobio@users.noreply.github.com>
* Fix schema to use nested blocks and run acceptance tests successfully
Co-authored-by: tobio <444668+tobio@users.noreply.github.com>
* Fix IsNull vs IsKnown checks and reorganize attribute type definitions
Co-authored-by: tobio <444668+tobio@users.noreply.github.com>
* Fix tests
* Remove old acceptance tests
* RunAs
* Remove old role resource
* Tidy up diags
* Field security should be a single nested block
* Field security should be a block in indices
Moving to an attribute is a breaking change with no benefit at the moment
* Bump SDK test to 0.12.2
* Skip SDK test when unsupported
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tobio <444668+tobio@users.noreply.github.com>
Co-authored-by: Toby Brain <toby.brain@elastic.co>1 parent cd616fb commit 8e9a240
File tree
31 files changed
+1845
-808
lines changed- docs/resources
- internal
- elasticsearch/security
- api_key
- role
- testdata
- TestAccResourceSecurityRoleFromSDK/create
- TestAccResourceSecurityRole
- create
- description_create
- description_update
- remote_indices_create
- remote_indices_update
- update
- models
- provider
31 files changed
+1845
-808
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
0 commit comments