summaryrefslogtreecommitdiffstats
path: root/examples/launchconfig_result.yaml
blob: 76c12b84ab0a6e8b4252d7cb172ed946ec922e9b (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
43
Description: examples/launchconfig1.yaml,examples/launchconfig2.yaml
HeatTemplateFormatVersion: '2012-12-12'
Parameters:
  A:
    Default: test1
    Type: String
  B:
    Default: test2
    Type: String
  C:
    Default: test3
    Type: String
  resource1Image:
    Default: resource1
    Type: String
  resource2Image:
    Default: resource2
    Type: String
Resources:
  notcomputeConfig:
    Metadata:
      OpenStack::Role: notcomputeConfig
      a:
        Ref: A
      b:
        Ref: B
      c:
        Ref: C
    Type: AWS::AutoScaling::LaunchConfiguration
  resource1:
    Properties:
      flavor: test_flavor
      image:
        Ref: resource1Image
      key_name: test_key
    Type: OS::Nova::Server
  resource2:
    Properties:
      flavor: test_flavor
      image:
        Ref: resource2Image
      key_name: test_key
    Type: OS::Nova::Server