Merge "Use 'public' instead of 'nova' as default floating pool name"
[apex-tripleo-heat-templates.git] / examples / scale_map.yaml
1 HeatTemplateFormatVersion: '2012-12-12'
2 Resources:
3   ComputeUser:
4     Type: AWS::IAM::User
5     Properties:
6       Policies: [ { Ref: ComputeAccessPolicy } ]
7   GlobalAccessPolicy:
8     Type: OS::Heat::AccessPolicy
9   NovaCompute0Key:
10     Type: FileInclude
11     Path: examples/scale_map2.yaml
12     SubKey: Resources.NovaCompute0Key
13   NovaCompute0CompletionCondition:
14     Type: FileInclude
15     Path: examples/scale_map2.yaml
16     SubKey: Resources.NovaCompute0CompletionCondition
17   NovaCompute0CompletionHandle:
18     Type: FileInclude
19     Path: examples/scale_map2.yaml
20     SubKey: Resources.NovaCompute0CompletionHandle
21   NovaCompute0Config:
22     Type: FileInclude
23     Path: examples/scale_map2.yaml
24     SubKey: Resources.NovaCompute0Config
25     Parameters:
26       AllHosts:
27         Fn::Join:
28         - "\n"
29         - Merge::Map:
30             NovaCompute0:
31               Fn::Join:
32               - ' '
33               - - Fn::Select:
34                   - 0
35                   - Fn::Select:
36                     - ctlplane
37                     - Fn::GetAtt:
38                       - NovaCompute0
39                       - networks
40                 - Fn::Select:
41                   - name
42                   - Fn::GetAtt:
43                     - NovaCompute0
44                     - show
45                 - Fn::Join:
46                   - '.'
47                   - - Fn::Select:
48                       - name
49                       - Fn::GetAtt:
50                         - NovaCompute0
51                         - show
52                     - 'local'
53   NovaCompute0:
54     Type: FileInclude
55     Path: examples/scale_map2.yaml
56     SubKey: Resources.NovaCompute0