Hello Team,
I was working on terraform provider for one of out product, NetScaler SDX using terraform-plugin-framework.
I have created few resources HERE is github repo link. My repo directory structure is as follows, Inside internal folder, I have individual folder with map to each resources, each folder have schema file and resource main login(CRUD skeleton).
I want to have the data source for every resource. Can I use the same schema, I know the types are different (one is resource/schema and other is datasource/schema).
But I don’t want to maintain different schema for simplicity and easy maintenance. How can I achieve that?
Thanks in advance