Skip to content

Commit

Permalink
Unfix epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
prafulmehrotra committed Mar 26, 2018
1 parent 186e3e7 commit 0d0e975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def ensure_foundation(session, config):
print 'Ensure key pair in region: {}'.format(region)

ec2_client = session.client('ec2', region_name=region, config=config)
key_name = '{}{}{}{}'.format(KEY_PAIR_PREFIX, time.time(), '-', region)
key_name = '{}{}'.format(KEY_PAIR_PREFIX, region)
if not has_key_pair(ec2_client, key_name):
key_material = create_key_pair(ec2_client, key_name)
key_pairs.append({"Region":region,"KeyName":key_name, "KeyMaterial": key_material})
Expand Down

0 comments on commit 0d0e975

Please sign in to comment.