blob: 63478d893d9c00af3124d51bf237431bc0d72c76 [file] [log] [blame]
resource "aws_instance" "web" {
require_new = "ami-new"
lifecycle {
create_before_destroy = true
}
}
resource "aws_instance" "lb" {
instance = aws_instance.web.id
}