aws-samples / aws-lambda-ddns-function

Dynamically create Route 53 resource records using CloudWatch Events and Lambda
Apache License 2.0
236 stars 116 forks source link

Avoid ASG race condition #6

Closed lngarrett closed 8 years ago

lngarrett commented 8 years ago

EC2 instances created from an ASG do not get tags applied immediately. This sleep avoids a race condition.

jusrob commented 8 years ago

Note we had to increase the Lambda Function timeout as well