summaryrefslogtreecommitdiffstats
path: root/base.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'base.yaml')
-rw-r--r--base.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/base.yaml b/base.yaml
new file mode 100644
index 00000000..adff04ed
--- /dev/null
+++ b/base.yaml
@@ -0,0 +1,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'