diff --git a/moto/rds/models.py b/moto/rds/models.py index 9bbf2769a..61b8d04b8 100644 --- a/moto/rds/models.py +++ b/moto/rds/models.py @@ -1,6 +1,7 @@ from __future__ import unicode_literals import copy +import datetime import boto.rds from jinja2 import Template @@ -49,6 +50,7 @@ class Database(object): self.availability_zone = kwargs.get("availability_zone") self.multi_az = kwargs.get("multi_az") self.db_subnet_group_name = kwargs.get("db_subnet_group_name") + self.instance_create_time = str(datetime.datetime.now()) if self.db_subnet_group_name: self.db_subnet_group = rds_backends[self.region].describe_subnet_groups(self.db_subnet_group_name)[0] else: @@ -206,6 +208,7 @@ class Database(object): {{ database.storage_type }} {% endif %} {{ database.db_instance_class }} + {{ database.instance_create_time }} {{ database.master_username }}
{{ database.address }}