Commit 5541d4c7 authored by Chris Merrett's avatar Chris Merrett

Ensure ASG nodes disks are removed on termination

parent 6dc29027
......@@ -155,6 +155,9 @@ resource "aws_launch_configuration" "main" {
iam_instance_profile = "${var.iam_instance_profile}"
security_groups = ["${var.security_groups}"]
user_data = "${var.user_data}"
root_block_device {
delete_on_termination = "true"
}
}
#############################################################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment