'Tests getting ids of individual resources.'

def test_index_refs(self):

    resg = self._create_dummy_stack()
    self.assertEqual('ID-0', resg.FnGetAtt('resource.0'))
    self.assertEqual('ID-1', resg.FnGetAtt('resource.1'))
    self.assertRaises(exception.InvalidTemplateAttribute, resg.FnGetAtt, 'resource.2')
