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

Commit d4c04cc

Browse files
authored
Add password handling (#148) (#149)
* 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
1 parent ccaa33b commit d4c04cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudify_awssdk/ec2/resources/instances.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def _handle_userdata(existing_userdata):
435435

436436

437437
def _handle_password(iface):
438-
if not ctx.node.properties['use_password']:
438+
if not ctx.node.properties.get('use_password'):
439439
return True
440440
# Get agent key data.
441441
key_data = ctx.node.properties['agent_config'].get('key')

0 commit comments

Comments
 (0)