added ssh_keys variable, added resources if keys are specified