aboutsummaryrefslogtreecommitdiffstats
path: root/examples/scale_map_hot.yaml
blob: 4a6d6843667367ed92e33673c6ced48c215038f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
heat_template_version: 2014-10-16
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:
              - ' '
              - - {get_attr: [NovaCompute0, networks, ctlplane, 0]}
                - {get_attr: [NovaCompute0, show, name]}
                - list_join:
                  - '.'
                  - - {get_attr: [NovaCompute0, show, name]}
                    - 'local'
  NovaCompute0:
    type: FileInclude
    Path: examples/scale_map2_hot.yaml
    SubKey: resources.NovaCompute0