terraform: LC should have CBD

This commit is contained in:
Mitchell Hashimoto
2015-05-12 16:07:16 -07:00
parent 3ffbefcc85
commit 6c9fbb568c

View File

@@ -34,6 +34,10 @@ resource "aws_launch_configuration" "vault" {
key_name = "${var.key-name}"
security_groups = ["${aws_security_group.vault.id}"]
user_data = "${template_file.install.rendered}"
lifecycle {
create_before_destroy = true
}
}
// Security group for Vault allows SSH and HTTP access (via "tcp" in