summaryrefslogtreecommitdiffstats
path: root/examples/launchconfig2.yaml
blob: 3ced0cc4b564e607b98c579eb18813478fd0b3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
HeatTemplateFormatVersion: '2012-12-12'
Parameters:
  C:
    Type: String
    Default: test3
  resource2Image:
    Type: String
    Default: resource2
Resources:
  notcomputeConfigMixin:
    Type: AWS::AutoScaling::LaunchConfiguration
    Metadata:
      OpenStack::Role: notcomputeConfig
      c: {Ref: C}
  resource2:
    Type: OS::Nova::Server
    Properties:
      flavor: test_flavor
      image: {Ref: resource2Image}
      key_name: test_key