--
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/a7bc0137-971e-4c90-89ee-2f1a0c39d00e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
what shell are you using? You most likely need to use " for escaping to work.Can you try something like terraform plan -var "'my_var=my_escaped\_value'"
--Lowe Schmidt | +46 723 867 157
On 26 September 2016 at 16:18, Ryan Howard <ryh...@gmail.com> wrote:
Hi All,I'm having an issue with terraform, and am currently using version 0.7.2, here's what I'm running into. I'm doing my normal "terraform plan", however I'm adding a variable as input this time. doing something like:terraform plan -var 'my_var=my_value'that works fine, but I can't get it to work with an equal sign on the end, or with a special character at the beginning such as a zero(0), like this:terraform plan -var 'my_var=0encrypted='Looked into escaping documentation, and nothing seems to work so far. Any hint in the right direction? I tried doing 'my_var=encrypted\=' and that doesn't work. I need to pass some private variables in at run time, and don't want to store these in a file. Is there a good way to escape these non alphabetical chars, or do I need to go another direction entirely?Thanks!Ryan
--
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.
TF_VAR_other_client_stuff=myvariablestuff\= terraform plan
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/859ee343-a4ca-4fd7-8f70-370aeded7f1f%40googlegroups.com.
set TF_VAR_other_client_stuff=myvariablestuff\=
terraform plan