Timeline for How can I get terraforms extern to execute `ssh-keygen -y -f ~/.ssh/id_rsa`?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 1, 2018 at 17:04 | comment | added | Steven K7FAQ | @KitSunde; In my use case of Ansible we have it create the SSH key(s) for all servers and store them in out management server. Is it possible to use Ansible to create this and possibly pass that via file back to Terraform? Apologies for the inexperienced question. | |
Feb 23, 2018 at 7:11 | comment | added | Kit Sunde | I use terraform for orchestration and ansible configuration management, this particular issue is just about having my dropping in the initial SSH key in an automated fashion so ansible can connect. :P | |
Feb 22, 2018 at 16:50 | comment | added | BoomShadow |
I wasn't the person who down-voted you, but I think I can see why you were. Your points are valid, Terraform should be used in conjunction with a configuration management (CM) tool like Ansible. Terraform is not a replacement. However, the OP's question was about a specific function of the Terraform program. There's nothing from the OP that tells us why they are running this ssh-keygen or how its used in their pipeline. Its entirely possible that running this with terraform actually is the best place for their use case.
|
|
Feb 22, 2018 at 16:17 | history | answered | Steven K7FAQ | CC BY-SA 3.0 |