schema: Computed Value Hints for Downstream Validation #61
Labels
enhancement
New feature or request
upstream-protocol
Requires change of protocol specification, i.e. can't be done under the current protocol
Consider the following example:
Even though it is obvious that ARN cannot be used in a parameter where we expect raw name, terraform isn't able to check this, because ARN is computed (put away the fact we don't have
ValidateFunc
ons3_bucket_name
for the moment). Instead API error is returned at a point when S3 bucket has been already created.Maybe this could be done by introducing something like
example_value
for eachComputed
field andoutput
against which we could then validate?The text was updated successfully, but these errors were encountered: