View Source Ash.Resource.Validation.AttributeEquals (ash v1.53.3)

A validation that fails unless the attribute equals a specific value before changes are applied.

Creates, however, will take into account the changes.