This commit is contained in:
Edward Viaene
2016-10-19 15:54:06 +00:00
parent 55b8be8dc3
commit 584632128f
3 changed files with 7 additions and 3 deletions
+3
View File
@@ -1,4 +1,7 @@
resource "aws_key_pair" "mykeypair" {
key_name = "mykeypair"
public_key = "${file("${var.PATH_TO_PUBLIC_KEY}")}"
lifecycle {
ignore_changes = ["public_key"]
}
}