aboutsummaryrefslogtreecommitdiffstats
path: root/examples/scale_result_hot.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scale_result_hot.yaml')
-rw-r--r--examples/scale_result_hot.yaml193
1 files changed, 193 insertions, 0 deletions
diff --git a/examples/scale_result_hot.yaml b/examples/scale_result_hot.yaml
new file mode 100644
index 00000000..17c05147
--- /dev/null
+++ b/examples/scale_result_hot.yaml
@@ -0,0 +1,193 @@
+description: examples/scale1_hot.yaml
+heat_template_version: '2013-05-23'
+resources:
+ ComputeUser:
+ properties:
+ Policies:
+ - get_param: ComputeAccessPolicy
+ type: AWS::IAM::User
+ GlobalAccessPolicy:
+ type: OS::Heat::AccessPolicy
+ NovaCompute0:
+ metadata:
+ os-collect-config:
+ cfn:
+ access_key_id:
+ get_resource: NovaCompute0Key
+ path: NovaCompute0Config.Metadata
+ secret_access_key:
+ get_attr:
+ - NovaCompute0Key
+ - SecretAccessKey
+ stack_name:
+ get_param: AWS::StackName
+ properties:
+ image:
+ get_param: ComputeImage
+ type: OS::Nova::Server
+ NovaCompute0CompletionCondition:
+ depends_on: notcompute
+ properties:
+ Count: '1'
+ Handle:
+ get_resource: NovaCompute0CompletionHandle
+ Timeout: '1800'
+ type: AWS::CloudFormation::WaitCondition
+ NovaCompute0CompletionHandle:
+ type: AWS::CloudFormation::WaitConditionHandle
+ NovaCompute0Config:
+ metadata:
+ completion-handle:
+ get_resource: NovaCompute0CompletionHandle
+ neutron:
+ ovs:
+ local_ip:
+ Fn::Select:
+ - 0
+ - Fn::Select:
+ - ctlplane
+ - get_attr:
+ - NovaCompute0
+ - networks
+ os-collect-config:
+ cfn:
+ access_key_id:
+ get_resource: NovaCompute0Key
+ path: NovaCompute0Config.Metadata
+ secret_access_key:
+ get_attr:
+ - NovaCompute0Key
+ - SecretAccessKey
+ stack_name:
+ get_param: AWS::StackName
+ rabbit:
+ password: guest
+ username: guest
+ type: AWS::AutoScaling::LaunchConfiguration
+ NovaCompute0Key:
+ properties:
+ UserName:
+ get_param: ComputeUser
+ type: AWS::IAM::AccessKey
+ NovaCompute1:
+ metadata:
+ os-collect-config:
+ cfn:
+ access_key_id:
+ get_resource: NovaCompute1Key
+ path: NovaCompute1Config.Metadata
+ secret_access_key:
+ get_attr:
+ - NovaCompute1Key
+ - SecretAccessKey
+ stack_name:
+ get_param: AWS::StackName
+ properties:
+ image:
+ get_param: ComputeImage
+ type: OS::Nova::Server
+ NovaCompute1CompletionCondition:
+ depends_on: notcompute
+ properties:
+ Count: '1'
+ Handle:
+ get_resource: NovaCompute1CompletionHandle
+ Timeout: '1800'
+ type: AWS::CloudFormation::WaitCondition
+ NovaCompute1CompletionHandle:
+ type: AWS::CloudFormation::WaitConditionHandle
+ NovaCompute1Config:
+ metadata:
+ completion-handle:
+ get_resource: NovaCompute1CompletionHandle
+ neutron:
+ ovs:
+ local_ip:
+ Fn::Select:
+ - 0
+ - Fn::Select:
+ - ctlplane
+ - get_attr:
+ - NovaCompute1
+ - networks
+ os-collect-config:
+ cfn:
+ access_key_id:
+ get_resource: NovaCompute1Key
+ path: NovaCompute1Config.Metadata
+ secret_access_key:
+ get_attr:
+ - NovaCompute1Key
+ - SecretAccessKey
+ stack_name:
+ get_param: AWS::StackName
+ rabbit:
+ password: guest
+ username: guest
+ type: AWS::AutoScaling::LaunchConfiguration
+ NovaCompute1Key:
+ properties:
+ UserName:
+ get_param: ComputeUser
+ type: AWS::IAM::AccessKey
+ NovaCompute2:
+ metadata:
+ os-collect-config:
+ cfn:
+ access_key_id:
+ get_resource: NovaCompute2Key
+ path: NovaCompute2Config.Metadata
+ secret_access_key:
+ get_attr:
+ - NovaCompute2Key
+ - SecretAccessKey
+ stack_name:
+ get_param: AWS::StackName
+ properties:
+ image:
+ get_param: ComputeImage
+ type: OS::Nova::Server
+ NovaCompute2CompletionCondition:
+ depends_on: notcompute
+ properties:
+ Count: '1'
+ Handle:
+ get_resource: NovaCompute2CompletionHandle
+ Timeout: '1800'
+ type: AWS::CloudFormation::WaitCondition
+ NovaCompute2CompletionHandle:
+ type: AWS::CloudFormation::WaitConditionHandle
+ NovaCompute2Config:
+ metadata:
+ completion-handle:
+ get_resource: NovaCompute2CompletionHandle
+ neutron:
+ ovs:
+ local_ip:
+ Fn::Select:
+ - 0
+ - Fn::Select:
+ - ctlplane
+ - get_attr:
+ - NovaCompute2
+ - networks
+ os-collect-config:
+ cfn:
+ access_key_id:
+ get_resource: NovaCompute2Key
+ path: NovaCompute2Config.Metadata
+ secret_access_key:
+ get_attr:
+ - NovaCompute2Key
+ - SecretAccessKey
+ stack_name:
+ get_param: AWS::StackName
+ rabbit:
+ password: guest
+ username: guest
+ type: AWS::AutoScaling::LaunchConfiguration
+ NovaCompute2Key:
+ properties:
+ UserName:
+ get_param: ComputeUser
+ type: AWS::IAM::AccessKey