Skip to content
This repository was archived by the owner on Mar 1, 2020. It is now read-only.

Commit 240bedd

Browse files
author
earthmant
committed
fixingscaling
1 parent 267ae34 commit 240bedd

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

aws.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ node_templates:
7575
image_id: { get_input: ami }
7676
instance_type: { get_input: instance_type }
7777
relationships:
78+
- type: cloudify.relationships.contained_in
79+
target: scale_tier
7880
- type: cloudify.aws.relationships.instance_connected_to_eni
7981
target: nic
8082
- type: cloudify.relationships.depends_on
@@ -150,13 +152,19 @@ node_templates:
150152
- type: cloudify.relationships.depends_on
151153
target: security_group
152154
- type: cloudify.relationships.contained_in
153-
target: aws
155+
target: scale_tier
154156
interfaces:
155157
cloudify.interfaces.lifecycle:
156158
configure:
157159
inputs:
158160
resource_config: { get_property: [ SELF, resource_config, kwargs] }
159161

162+
scale_tier:
163+
type: cloudify.nodes.Tier
164+
relationships:
165+
- type: cloudify.relationships.contained_in
166+
target: aws
167+
160168
security_group:
161169
type: cloudify.nodes.aws.ec2.SecurityGroup
162170
properties:
@@ -235,12 +243,6 @@ node_templates:
235243
availability_zone: availability_zone
236244
external_resource: external
237245
reexecute: false
238-
relationships:
239-
- type: cloudify.relationships.contained_in
240-
target: scale_tier
241-
242-
scale_tier:
243-
type: cloudify.nodes.Tier
244246

245247
outputs:
246248

0 commit comments

Comments
 (0)