Closed ghost closed 7 years ago
You can add a time.sleep() function to the beginning of the Lambda function to wait a few seconds. You may need to experiment with the length of time to wait. Tags are applied to instances after the instance is instantiated.
added "time.sleep (10)" on line 9. Worked perfectly. Thanks.
On Sat, Jul 2, 2016 at 6:41 PM, Jeremy Cowan notifications@github.com wrote:
You can add a time.sleep() function to the beginning of the Lambda function to wait a few seconds. You may need to experiment with the length of time to wait. Tags are applied to instances after the instance is instantiated.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/awslabs/aws-lambda-ddns-function/issues/3#issuecomment-230130516, or mute the thread https://github.com/notifications/unsubscribe/ARA0THqyBFQoT6nJPNP2CntD797NFS_Mks5qRxNYgaJpZM4JDxio .
Laurie Kepford Cloud DevOps Engineer Panoramic Software 760-712-2266
I am testing Scalr for launching instances. I have tested it having Scalr add the tag for CNAME. However, I think the tag is getting added too late for the lambda function to pick it up properly.
This is the log: