diff --git a/moto/cloudwatch/models.py b/moto/cloudwatch/models.py index 0d50b8b78..6b7587a94 100644 --- a/moto/cloudwatch/models.py +++ b/moto/cloudwatch/models.py @@ -1,5 +1,6 @@ from moto.core import BaseBackend import boto.ec2.cloudwatch +import datetime class Dimension(object): @@ -24,6 +25,8 @@ class FakeAlarm(object): self.ok_actions = ok_actions self.insufficient_data_actions = insufficient_data_actions self.unit = unit + self.state_updated_timestamp = datetime.datetime.now() + self.configuration_updated_timestamp = datetime.datetime.now() class MetricDatum(object):