]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Make sure AWS::StackName is avaliable
authorAngus Salkeld <asalkeld@redhat.com>
Thu, 26 Apr 2012 07:01:38 +0000 (17:01 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Thu, 26 Apr 2012 07:04:04 +0000 (17:04 +1000)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/engine/parser.py

index a4a698e77f0c71d673ca0b67b5911a9c40427d7a..5c1c6020b1f9293590a81d4315dbf667b388e665 100644 (file)
@@ -43,6 +43,10 @@ class Stack(object):
         self.name = stack_name
         self.parsed_template_id = 0
 
+        self.parms['AWS::StackName'] = {"Description": "AWS StackName",
+            "Type": "String",
+            "Value": stack_name}
+
         self.parms['AWS::Region'] = {"Description": "AWS Regions",
             "Type": "String",
             "Default": "ap-southeast-1",