Skip to content

Instantly share code, notes, and snippets.

@mateusz
Last active August 29, 2015 14:21
Show Gist options
  • Save mateusz/1733d6773c6a0d31fa7b to your computer and use it in GitHub Desktop.
Save mateusz/1733d6773c6a0d31fa7b to your computer and use it in GitHub Desktop.
{
"RainpatternVersion": "0.1",
"Name": "medium",
"Defaults": {
"profile": "default",
"rds-multi-az": "...",
"rds-instance-type": "...",
"rds-allocated-storage": "...",
"nfs-multi-az": "...",
"min-size": "...",
"max-size": "...",
"layout": "...",
"base": "...",
"manifest-repo": "...",
"manifest-sha": "...",
"manifest-template": "...",
"ebs-type": "...",
"ebs-size": "...",
"ebs-iops": "...",
"type": "...",
},
"Commands": {
"Create": {
"env:create": {
"Command": "env:create",
"PassRequired": [ "cluster", "stack", "environment", "ssl-cert-id", "rds-multi-az", "rds-instance-type",
"rds-allocated-storage", "nfs-multi-az", "min-size", "max-size", "layout", "profile"],
"PassIfAvailable": [ "client", "deploy-bucket", "backup-bucket", "role-arn", "no-rollback", "region"]
},
"env:show": {
"Command": "env:show",
"PassRequired": [ "cluster", "stack", "environment" ],
"RegisterOutput": {
"HostedZoneId": "EnvZoneId",
"DnsName": "EnvDnsName"
}
},
"dns:create": {
"Command": "dns:create",
"PassIfAvailable": [ "client", "role-arn", "no-rollback", "region"],
"PassCustom": {
"cluster": "ananke",
"stack": "dns",
"environment": "{cluster}X{stack}X{environment}",
"dns-zone-id": "Z3DE3JF6N49Z0E",
"dns-name": "{cluster}-{stack}-{environment}.sites.silverstripe.com",
"alias-to-zone-id": "{EnvZoneId}",
"alias-to-dns-name": "{EnvDnsName}"
}
}
},
"Deploy": {
"deploy:bake": {
"Command": "deploy:bake",
"PassRequired": [ "cluster", "stack", "environment", "base", "manifest-repo", "manifest-sha", "manifest-template",
"site-repo", "site-sha" ],
"PassIfAvailable": [ "client", "role-arn", "no-rollback", "region"],
"PassCustom": {
"format": "json"
},
"RegisterOutput": {
"AmiId": "AmiId"
}
},
"deploy:release": {
"Command": "deploy:release",
"PassRequired": [ "ebs-type", "ebs-size", "ebs-iops", "type" ],
"PassCustom": {
"ami-id": "{AmiId}"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment