--
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/9b2483df-eeb7-4957-8553-0fe90aed35de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Do you mean like the match function? https://www.terraform.io/docs/configuration/interpolation.html#matchkeys-values-keys-searchset-
--Lowe Schmidt | +46 723 867 157
On 5 April 2018 at 08:03, Bubunia Patra <bubunia...@gmail.com> wrote:
Hi all,I am exploring a way to check if we have a match operator in variable interpolation. For example:I want to match the server name and do some action and send the result to the user data script.abc1, def1, mno1 etc.I want to check if the variable matches with any of the pattern as above then pass the value.How can we achieve this using terraform?RegardsPradeep
--
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.