Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Commit

Permalink
Add password handling (#148) (#149)
Browse files Browse the repository at this point in the history
* support skipping vpc id assignment

Documentation: http://boto3.readthedocs.io/en/latest/reference/services/ec2.html#EC2.ServiceResource.create_security_group

bump version

* Support password
  • Loading branch information
EarthmanT authored Jul 30, 2018
1 parent ccaa33b commit d4c04cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudify_awssdk/ec2/resources/instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def _handle_userdata(existing_userdata):


def _handle_password(iface):
if not ctx.node.properties['use_password']:
if not ctx.node.properties.get('use_password'):
return True
# Get agent key data.
key_data = ctx.node.properties['agent_config'].get('key')
Expand Down

0 comments on commit d4c04cc

Please sign in to comment.