-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplygrnd-cfn.json
77 lines (67 loc) · 2.71 KB
/
plygrnd-cfn.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"AWSTemplateVersion": "2010-09-09",
"Description": "AWS CloudFormation stack template for launching websites powered by Ghost (https://github.com/tryghost/ghost).",
"Parameters": {
"SESAccessKey": {
"Description": "SES SMTP key for sending email from web server. Must be a valid AWS access key ID.",
"Type": "String",
"AllowedPattern": "[A-Z0-9]{20}",
"ConstraintDescription": "Must be a valid AWS access key."
},
"SESSecretKey": {
"Description": "SES Secret key",
"Type": "String",
"AllowedPattern": "(?<![A-Za-z0-9/+=])[A-Za-z0-9/+=]{40}(?![A-Za-z0-9/+=])",
"ConstraintDescription": "Must be a valid AWS secret key."
},
"DBUser": {
"NoEcho": "true",
"Description" : "Username for MySQL database access",
"Type": "String",
"MinLength": "1",
"MaxLength": "16",
"AllowedPattern" : "[a-zA-Z][a-zA-Z0-9]*",
"ConstraintDescription" : "Must begin with a letter and contain only alphanumeric characters."
},
"DBPassword": {
"NoEcho": "true",
"Description" : "Password for MySQL database access",
"Type": "String",
"MinLength": "1",
"MaxLength": "41",
"AllowedPattern" : "[a-zA-Z0-9]*",
"ConstraintDescription" : "Must contain only alphanumeric characters."
},
"DBRootPassword": {
"NoEcho": "true",
"Description" : "Root password for MySQL",
"Type": "String",
"MinLength": "1",
"MaxLength": "41",
"AllowedPattern" : "[a-zA-Z0-9]*",
"ConstraintDescription" : "Must contain only alphanumeric characters."
},
"SSHLocation" : {
"Description" : " The IP address range that can be used to SSH to the EC2 instances",
"Type": "String",
"MinLength": "9",
"MaxLength": "18",
"Default": "0.0.0.0/0",
"AllowedPattern": "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})",
"ConstraintDescription": "Must be a valid IP CIDR range of the form x.x.x.x/x."
},
"Domain": {
"Descripton": "Website domain name",
"Type": "String",
"MinLength": "10",
"MaxLength": "64",
"ConstraintDescription": "Must be a valid FQDN."
},
"InstanceType": {
"Description": "EC2 instance type",
"Type": "String",
"Default": "t2.micro",
"AllowedValues": ["t2.micro", "t2.small", "t2.medium", "t2.large"]
}
}
}