Created
October 27, 2017 19:03
-
-
Save mlabouardy/b8f5cf729f49e042c991a4bcd1374d4c to your computer and use it in GitHub Desktop.
Define an SSH KeyPair
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define SSH key pair for our instances | |
resource "aws_key_pair" "default" { | |
key_name = "vpctestkeypair" | |
public_key = "${file("${var.key_path}")}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment