Define Ash Type for Ash Resource with Data Layer?

Embedded Ash resources are automatically Ash Types. Can Ash resources with data layers automatically define a type, as well?
1 Reply
ZachDaniel
ZachDaniel4mo ago
Not currently, no But you can use a type that approximates the behavior with :struct and constraints: [instance_of: The.Resource]

Did you find this page helpful?