aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2013-03-13 18:26:49 +0000
committerClint Byrum <clint@fewbar.com>2013-03-13 18:26:49 +0000
commit422b34354c6ce900eed7be85640430de5a494abb (patch)
treed3a7cef365be116d87895bc018e4058421ffce11
parentf1a1b301213d0156c3180cbe069cec1657c0a95c (diff)
fixes
-rw-r--r--mysql.yaml15
1 files changed, 10 insertions, 5 deletions
diff --git a/mysql.yaml b/mysql.yaml
index 5c9838c6..073a9bea 100644
--- a/mysql.yaml
+++ b/mysql.yaml
@@ -8,7 +8,7 @@ Parameters:
InstanceType:
Description: Use this flavor
Type: String
- Default: m1.small
+ Default: bm.small
MySQLImage:
Type: String
KeystoneUser:
@@ -19,7 +19,7 @@ Parameters:
Description: Fetch a mysql dump file from this URL and load it
Type: String
Default: ''
- BootstrapUrl:
+ BootstrapRootCnfUrl:
Description: Fetch a mysql config file from this URL to setup local root with bootstrapped database
Type: String
Default: ''
@@ -32,10 +32,15 @@ Resources:
Type: AWS::IAM::User
Properties:
Policies: [ { Ref: ApiAccessPolicy } ]
+ ApiKey:
+ Type: AWS::IAM::AccessKey
+ Properties:
+ UserName:
+ Ref: ApiUser
MySQL:
Type: AWS::EC2::Instance
Metadata:
- OpenStack::ImageBuilder::Elements: [ openstack-db ]
+ OpenStack::ImageBuilder::Elements: [ mysql ]
OpenStack::Config:
mysql:
users:
@@ -59,9 +64,9 @@ Resources:
{Ref: MySQLImage}
InstanceType: {Ref: InstanceType}
KeyName: {Ref: KeyName}
+ UserData: "#!/bin/bash\ntouch /tmp/userdata-finished\necho Userdata finished $(date)\n"
KeystonePasswordHandle:
- Type: AWS::CloudFormation:WaitConditionHandle
- Properties:
+ Type: AWS::CloudFormation::WaitConditionHandle
KeystonePassword:
DependsOn: MySQL
Type: AWS::CloudFormation::WaitCondition