--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/62f32cb3-dc08-4d43-8e5f-7ea21779c76a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Unfortunately, this isn't something that the provider framework supports just yet, but it is something that the core team discusses and knows is an issue. I don't have a timeline for resolution, but it's definitely a known limitation. Sorry I can't offer more here.Best,Paddy
On Fri, Oct 6, 2017 at 11:28 AM, Ashish Thakur <ashis...@gmail.com> wrote:
Basically I want to get the terraform plan to find issues early on. I have two fields A and B. A can have certain values based on what B is holding at a point.
So if someones specifies these two fields in the schema, how can I leverage validateFunc (or otherwise)to put proper validation so that problem is found at plan stage itself.
For example if B is true A could be 1,2,3,4 and if B is false A could be 8,9.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/65d47607-fa36-4a03-9590-a4b859f7e8e1%40googlegroups.com.