Cleanup EC2 launch time code a bit.
This commit is contained in:
parent
7c0346c658
commit
b1c41820f7
2 changed files with 4 additions and 2 deletions
|
|
@ -299,7 +299,7 @@ class Instance(BotoInstance, TaggedEC2Resource):
|
|||
self.subnet_id = kwargs.get("subnet_id")
|
||||
self.key_name = kwargs.get("key_name")
|
||||
self.source_dest_check = "true"
|
||||
self.launch_time = datetime.now().isoformat()
|
||||
self.launch_time = datetime.utcnow().isoformat()
|
||||
self.private_ip_address = kwargs.get('private_ip_address')
|
||||
|
||||
self.block_device_mapping = BlockDeviceMapping()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue