summaryrefslogtreecommitdiffstats
path: root/base.yaml
blob: adff04ed7801c38b43390afce4e3c4705b2823a9 (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
HeatTemplateFormatVersion: '2012-12-12'
Description: 'HEAT Template - Tie OpenStack components together'
Parameters:
  TemplateRoot:
    Description: URL Base where all of our templates are available
    Type: String
Resources:
  MySQL:
    Type: AWS::CloudFormation::Stack
    TemplateURL:
      Fn::Join:
        - {Ref: TemplateRoot}
        - mysql.yaml
    Parameters:
      InstanceType: m1.small
      KeyName: default
      MySQLImage: image-mysql
  Keystone:
    Type: AWS::CloudFormation::Stack
    TemplateURL:
      Fn::Join:
        - {Ref: TemplateRoot}
        - keystone.yaml
    Parameters:
      KeyName: default
      KeystoneDSN:
        Fn::Join:
          - 'mysql://keystone:'
          - {Fn::GetAtt: [ MySQL , KeystonePassword ]}
          - '@'
          - {Fn::GetAtt: [ MySQL , MySQLHost ]}
          - '/keystone'