]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
vpc_test: move DependsOn to the correct template section
authorAngus Salkeld <asalkeld@redhat.com>
Tue, 5 Mar 2013 00:49:12 +0000 (11:49 +1100)
committerAngus Salkeld <asalkeld@redhat.com>
Tue, 5 Mar 2013 00:49:12 +0000 (11:49 +1100)
found when fixing bug #1101098
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Change-Id: I7591111bcdf768119d265d0a9c901a0e189604d3

heat/tests/test_vpc.py

index 9bc2abe50f8424beb1b1481258470d6b21f00bc5..a23a0e3da60b32776b6ca57a6dfb60173933de2b 100644 (file)
@@ -303,8 +303,8 @@ Resources:
     Type: AWS::EC2::InternetGateway
   the_vpc:
     Type: AWS::EC2::VPC
+    DependsOn : the_gateway
     Properties:
-      DependsOn : the_gateway
       CidrBlock: '10.0.0.0/16'
   the_subnet:
     Type: AWS::EC2::Subnet
@@ -314,9 +314,9 @@ Resources:
       AvailabilityZone: moon
   the_attachment:
     Type: AWS::EC2::VPCGatewayAttachment
+    DependsOn : the_subnet
     Properties:
       VpcId: {Ref: the_vpc}
-      DependsOn : the_subnet
       InternetGatewayId: {Ref: the_gateway}
 '''