Sha256: 48111f52ac7481f3948a5d5a3bf2ee10689220d10bcb3bed6705201f986991dd
Contents?: true
Size: 1.82 KB
Versions: 4
Compression:
Stored size: 1.82 KB
Contents
{ "AWSTemplateFormatVersion" : "2010-09-09", "Description": <%= j stack.description %>, "Parameters" : { "InstanceAMIVar": {"Type": "String", "Default": "ami-ddaed3ed"}, "DockerLibrarySnapshotVar": {"Type": "String", "Default": "snap-d37e4721"}, "IAMKeypairNameVar": {"Type": "String", "MinLength": "5"}, <% stack.roles.each do |role_name| %> <%= j "#{role_name}RoleScriptVar" %>: {"Type": "String"}, <% end %> "DBAdminUsernameVar": {"Type": "String"}, "DBAdminPasswordVar": {"Type": "String"}, "EnvironmentTypeVar": {"Type": "String", "Default": "development"}, "UserDataEnvironmentVar": {"Type": "String"} }, "Mappings" : { "CloudFrontHostedZone" : { "us-west-2" : { "HostedZoneId" : "Z2FDTNDATAQYW2" } }, "S3HostedZone" : { "us-west-2" : { "HostedZoneId" : "Z3BJ6K6RIION7M" } }, "StackZoneRecords": <%= j Hash[ *( stack.subdomains.map do |subdomain| [subdomain.logical_name, { "DNSName" => subdomain.to_s, "HostedZoneId" => subdomain.hosted_zone.id, "ServerCertificateARN" => subdomain.server_certificate.arn }] end ).flatten ] %>, "SubnetConfig" : { "VPC": { "CIDR": "10.0.0.0/16" }, "Public": { "CIDR": "10.0.0.0/24", "AvailabilityZone": "a" }, "Private": { "CIDR": "10.0.1.0/24", "AvailabilityZone": "a" }, "DB": { "CIDR": "10.0.2.0/24", "AvailabilityZone": "b" } } }, "Conditions" : <%= j layers.map{ |layer| layer.condition_definitions }.compact.inject({}, &:update) %>, "Resources" : <%= j layers.map{ |layer| layer.resource_definitions }.compact.inject({}, &:update) %>, "Outputs" : <%= j layers.map{ |layer| layer.output_definitions }.compact.inject({}, &:update) %> }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
stacco-0.1.36 | ./priv/stack.json.erb |
stacco-0.1.35 | ./priv/stack.json.erb |
stacco-0.1.33 | ./priv/stack.json.erb |
stacco-0.1.32 | ./priv/stack.json.erb |