aboutsummaryrefslogtreecommitdiffstats
path: root/examples/scale_map_hot.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scale_map_hot.yaml')
-rw-r--r--examples/scale_map_hot.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/examples/scale_map_hot.yaml b/examples/scale_map_hot.yaml
new file mode 100644
index 00000000..282d49bb
--- /dev/null
+++ b/examples/scale_map_hot.yaml
@@ -0,0 +1,56 @@
+heat_template_version: 2013-05-23
+resources:
+ ComputeUser:
+ type: AWS::IAM::User
+ properties:
+ Policies: [ { get_param: ComputeAccessPolicy } ]
+ GlobalAccessPolicy:
+ type: OS::Heat::AccessPolicy
+ NovaCompute0Key:
+ type: FileInclude
+ Path: examples/scale_map2_hot.yaml
+ SubKey: resources.NovaCompute0Key
+ NovaCompute0CompletionCondition:
+ type: FileInclude
+ Path: examples/scale_map2_hot.yaml
+ SubKey: resources.NovaCompute0CompletionCondition
+ NovaCompute0CompletionHandle:
+ type: FileInclude
+ Path: examples/scale_map2_hot.yaml
+ SubKey: resources.NovaCompute0CompletionHandle
+ NovaCompute0Config:
+ type: FileInclude
+ Path: examples/scale_map2_hot.yaml
+ SubKey: resources.NovaCompute0Config
+ parameters:
+ AllHosts:
+ list_join:
+ - "\n"
+ - Merge::Map:
+ NovaCompute0:
+ list_join:
+ - ' '
+ - - Fn::Select:
+ - 0
+ - Fn::Select:
+ - ctlplane
+ - get_attr:
+ - NovaCompute0
+ - networks
+ - Fn::Select:
+ - name
+ - get_attr:
+ - NovaCompute0
+ - show
+ - list_join:
+ - '.'
+ - - Fn::Select:
+ - name
+ - get_attr:
+ - NovaCompute0
+ - show
+ - 'local'
+ NovaCompute0:
+ type: FileInclude
+ Path: examples/scale_map2_hot.yaml
+ SubKey: resources.NovaCompute0