Add DefaultFunc
/ Default
field for provider configuration
#837
Labels
enhancement
New feature or request
DefaultFunc
/ Default
field for provider configuration
#837
When working on the integration for
helm
, I found that plugin-framework does not support default values within provider configurations.This is a requirement as
helm
uses Default values that are often obtained from Environment variables. An example of how this is implemented in SDKv2 can be seen below.Currently I am unable to complete the provider configuration for helm without the fields.
Proposal
It seems like the same logic from other attributes can be applied for the Provider to contain this field also. I am also assuming that theirs already an ability to grab Environment variables that is similar to that found in SDKv2
References
https://github.com/hashicorp/terraform-plugin-framework/blob/main/provider/schema/schema.go
https://github.com/hashicorp/terraform-plugin-framework/blob/main/resource/schema/string_attribute.go
The text was updated successfully, but these errors were encountered: