diff --git a/cloudwatch.tf b/cloudwatch.tf index c1c9613..f1f835c 100644 --- a/cloudwatch.tf +++ b/cloudwatch.tf @@ -4,7 +4,7 @@ locals { "source" = ["aws.ec2"] "detail-type" = ["EC2 Instance State-change Notification"] "detail" = { - "state" = ["running", "shutting-down", "stopped"] + "state" = ["running", "shutting-down", "stopped", "terminated"] } } } diff --git a/code/ddns-lambda.zip b/code/ddns-lambda.zip index cbcd6ec..304274c 100644 Binary files a/code/ddns-lambda.zip and b/code/ddns-lambda.zip differ