Commit graph

18 commits

Author SHA1 Message Date
Daniel Schmidt
871451122f actions: move schema to single action type and remove linked resources
we want to leave the door open to evolve the design in the future based on feedback
2025-09-15 17:09:22 +02:00
James Bardin
3a2409e3dc generate capability 2025-08-29 15:00:30 -04:00
James Bardin
db98d67774 GenerateResourceConfig protobuf 2025-08-29 15:00:30 -04:00
Daniel Schmidt
176263d936 actions: remove future action types
removing them for now, this gives us more flexibility in the future since the schema is not yet locked in
2025-08-29 16:25:41 +02:00
Daniel Schmidt
17e7338b0f add client capabilites across the board 2025-08-05 15:34:13 +02:00
Austin Valle
184175761b fix protocol field numbers 2025-07-30 09:59:46 +02:00
Daniel Schmidt
7bf6629ae7 fix protobuf typo 2025-07-24 11:28:29 +02:00
Daniel Schmidt
c11a85493e mark field 10 as reserved
Co-authored-by: Liam Cervante <liam.cervante@hashicorp.com>
2025-07-24 11:28:29 +02:00
Daniel Schmidt
972427d70a use same attribute mapping as provider protocol 2025-07-24 11:28:29 +02:00
Kristin Laemmert
0374f04424
Add ValidateActionConfig to provider interface, protocol & internal implementations (#37345)
* Add ValidateActionConfig to provider interface and protocol

* Update internal/provider-simple-v6/provider.go

Co-authored-by: Daniel Schmidt <danielmschmidt92@gmail.com>

---------

Co-authored-by: Daniel Schmidt <danielmschmidt92@gmail.com>
2025-07-18 14:14:44 -04:00
Daniel Schmidt
d0e5c3cc7b address review feedback 2025-07-10 16:06:44 +02:00
Daniel Schmidt
e6b848d5ab add actions protobuf definitions 2025-07-10 16:06:44 +02:00
Samsondeen
79187d579d
Validate list block meta-arguments (#37281) 2025-07-04 10:42:06 +02:00
Daniel Banck
cb58a15f3d
Implement ListResource RPC (TF-25509) (#37092)
* Implement ListResource RPC via callbacks

* Implement ListResource with iterators

* Change `ListResourceResponse` to slice

* Turn ListResourceResponse into a struct

* Add a limit for ListResource

* explicitly cancel stream when listing resources

---------

Co-authored-by: Samsondeen Dare <samsondeen.dare@hashicorp.com>
2025-06-04 09:40:10 +02:00
Radek Simko
dd4bf55dca
docs/plugin-protocol: Clarify use of GetMetadata (#37181)
* docs/plugin-protocol: Clarify use of GetMetadata

* Run `make protobuf`

---------

Co-authored-by: Sarah French <sarah.french@hashicorp.com>
2025-06-02 09:18:39 +01:00
Baraa Basata
d8d890f3b2
Minimize text diff between tfplugin{5,6}.proto (#37093)
* Minimize text diff between tfplugin{5,6}.proto

This is a no-op change that moves two definitions in tfplugin5.proto to
match their relative location in tfplugin6.proto. The effect is to
remove an incidental part of the text diff between the two files for
easier comparison.

* fixup! Minimize text diff between tfplugin{5,6}.proto
2025-05-21 18:15:27 +02:00
Daniel Banck
44ae7da18e
Update Plugin Protocol for List and Implement ValidateListResourceConfig (#37007)
* Minor auto-formatting changes

* Add list RPC and schema protobuf definitions

* make protobuf

* make generate

* Add ValidateListResourceConfig implementation
2025-05-19 10:20:52 +02:00
Daniel Banck
dd10cfc048
Cleanup Terraform Plugin Protocol Files (#37005)
* Rename tfplugin5.9.proto and remove other files

* Rename tfplugin6.9.proto and remove other files

* Update symlinks

* Update protocol related docs
2025-05-09 15:23:38 +02:00
Renamed from docs/plugin-protocol/tfplugin5.9.proto (Browse further)