Skip to content

Commit

Permalink
tfsdk: Support for List and Set Blocks (#188)
Browse files Browse the repository at this point in the history
Reference: #85

The primary purpose for supporting blocks is to allow previously existing schemas defined by the older Terraform Plugin SDK to not require practitioner breaking changes upon migrating to the framework (except the protocol version and therefore the minimum Terraform CLI version unless a tfprotov5 server implementation is added to this framework as well). This also allows this framework to be muxed with the older framework since the provider schema must match. It is expected that over time any schema definitions including `Blocks` will migrate to `Attributes`.

Provider developers should always opt for `Attributes` in new schema definitions.

One notable exclusion to this initial block support is plan modification, both with attributes under blocks and blocks themselves. Support for this functionality can be tracked in #222.
  • Loading branch information
bflad authored Nov 3, 2021
1 parent 040fb83 commit 085ea63
Show file tree
Hide file tree
Showing 15 changed files with 4,725 additions and 195 deletions.
3 changes: 3 additions & 0 deletions .changelog/188.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:feature
tfsdk: Support list and set blocks in schema definitions
```
Loading

0 comments on commit 085ea63

Please sign in to comment.