From: Zane Bitter Date: Wed, 19 Dec 2012 17:48:25 +0000 (+0100) Subject: Return an ARN as the Ref for nested stacks X-Git-Tag: 2014.1~1056 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=aeae520f6e9c27661287b64707473d8b188ad173;p=openstack-build%2Fheat-build.git Return an ARN as the Ref for nested stacks Change-Id: I32b6b952dcd29ba895fc7b22dd362352068c85bf Signed-off-by: Zane Bitter --- diff --git a/heat/engine/resources/stack.py b/heat/engine/resources/stack.py index 6d912eb7..45668d1a 100644 --- a/heat/engine/resources/stack.py +++ b/heat/engine/resources/stack.py @@ -96,6 +96,9 @@ class NestedStack(Stack): if stack is not None: stack.delete() + def FnGetRefId(self): + return self.nested().identifier().arn() + def FnGetAtt(self, key): if not key.startswith('Outputs.'): raise exception.InvalidTemplateAttribute(