Configure deprecation for hcltest