hashicorp / terraform-provider-scaffolding-framework

Quick start repository for creating a Terraform provider using terraform-plugin-framework
Mozilla Public License 2.0
285 stars 137 forks source link

Add Example Attributes Of All Types #174

Open tgoodsell-tempus opened 11 months ago

tgoodsell-tempus commented 11 months ago

The examples in this repo primarily use types.String and schema.StringAttribute.

I would be a big "nice to have" if this repo included examples for every supported attribute type from https://developer.hashicorp.com/terraform/plugin/framework/handling-data/attributes, as well as examples of block usage from https://developer.hashicorp.com/terraform/plugin/framework/handling-data/blocks.

This would be a big complement to the documentation as the articles mainly focus on an individual type in isolation, instead of a full working example of many of them.

tgoodsell-tempus commented 11 months ago

It would also be nice for this to include "best practice" schema definitions, value retrieval / writing, and state writing for each type.

fireflycons commented 10 months ago

Perhaps even point us to the repos of some official providers with fairly complex schemas that are using the new plugin framework