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

Commit

Permalink
fixingscaling
Browse files Browse the repository at this point in the history
  • Loading branch information
earthmant committed Feb 20, 2018
1 parent 267ae34 commit 240bedd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ node_templates:
image_id: { get_input: ami }
instance_type: { get_input: instance_type }
relationships:
- type: cloudify.relationships.contained_in
target: scale_tier
- type: cloudify.aws.relationships.instance_connected_to_eni
target: nic
- type: cloudify.relationships.depends_on
Expand Down Expand Up @@ -150,13 +152,19 @@ node_templates:
- type: cloudify.relationships.depends_on
target: security_group
- type: cloudify.relationships.contained_in
target: aws
target: scale_tier
interfaces:
cloudify.interfaces.lifecycle:
configure:
inputs:
resource_config: { get_property: [ SELF, resource_config, kwargs] }

scale_tier:
type: cloudify.nodes.Tier
relationships:
- type: cloudify.relationships.contained_in
target: aws

security_group:
type: cloudify.nodes.aws.ec2.SecurityGroup
properties:
Expand Down Expand Up @@ -235,12 +243,6 @@ node_templates:
availability_zone: availability_zone
external_resource: external
reexecute: false
relationships:
- type: cloudify.relationships.contained_in
target: scale_tier

scale_tier:
type: cloudify.nodes.Tier

outputs:

Expand Down

0 comments on commit 240bedd

Please sign in to comment.