mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
terraform: LC should have CBD
This commit is contained in:
@@ -34,6 +34,10 @@ resource "aws_launch_configuration" "vault" {
|
|||||||
key_name = "${var.key-name}"
|
key_name = "${var.key-name}"
|
||||||
security_groups = ["${aws_security_group.vault.id}"]
|
security_groups = ["${aws_security_group.vault.id}"]
|
||||||
user_data = "${template_file.install.rendered}"
|
user_data = "${template_file.install.rendered}"
|
||||||
|
|
||||||
|
lifecycle {
|
||||||
|
create_before_destroy = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Security group for Vault allows SSH and HTTP access (via "tcp" in
|
// Security group for Vault allows SSH and HTTP access (via "tcp" in
|
||||||
|
|||||||
Reference in New Issue
Block a user