Data Sources Plan Modification

I’m porting an SDKv2 plugin to the plugin framework, and I have some data sources with default values. I see plan modification is supported for resources but not for data sources. Was this something that was overlooked or quietly deprecated?

I can handle default values in the Read() function like terraform-provider-tls, but I was curious if this was an intentional change?

Hi @CEnnis91 :wave:

The absence of plan modifiers for data sources was intentional as data sources read on every Terraform run so there is no notion of plan modification for a data source.

As you suggest, default values can be handled within the Read() function for a data source.

Great, thanks for the clarification.