Add localhost resource and check_is_ec2_instance command