Skip to content

Instantly share code, notes, and snippets.

@mlabouardy
Created October 27, 2017 19:03
Show Gist options
  • Save mlabouardy/b8f5cf729f49e042c991a4bcd1374d4c to your computer and use it in GitHub Desktop.
Save mlabouardy/b8f5cf729f49e042c991a4bcd1374d4c to your computer and use it in GitHub Desktop.
Define an SSH KeyPair
# 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