We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is an excerpt from my tf file.
resource "aws_instance" "linux" { ami = "${lookup(var.amis, var.region)}" instance_type = "t1.micro" count = 1 key_name = "dev" connection { user = "core" key_file = "~/.ssh/dev.pem" } }
Error applying plan:
1 error(s) occurred:
Is there something I am doing incorrectly? I have been able to launch machines and now I'm testing out the different provisioners. Thanks!
The text was updated successfully, but these errors were encountered:
The problem here is that terraform isn't expanding the tilde to your home directory.
terraform/helper/ssh/provisioner.go
Line 105 in ffc5d44
In the short term you can work around it by expanding it to an absolute path yourself.
Sorry, something went wrong.
Thanks. Just for others to see, the tilde would be perfect so everyone on my team can develop and test out terraform since we all have the pem.
Thanks, this is a bug.
9d6e0e4
~/<path>
No branches or pull requests
Here is an excerpt from my tf file.
Error applying plan:
1 error(s) occurred:
Is there something I am doing incorrectly? I have been able to launch machines and now I'm testing out the different provisioners. Thanks!
The text was updated successfully, but these errors were encountered: