Skip to content

Commit

Permalink
Add StacksVersion argument, helps along tinnightcap/nubis-stacks#41
Browse files Browse the repository at this point in the history
  • Loading branch information
gozer committed Jul 8, 2015
1 parent 20a541e commit 8a5ce2b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions nubis/cloudformation/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
"AmiId": {
"Description": "The id of the ami for this region",
"Type": "String"
},
"StacksVersion": {
"Description": "Version of the Nubis Stacks",
"Type": "String",
"Default": "v1.0.0"
}
},
"Mappings": {
Expand Down Expand Up @@ -94,7 +99,7 @@
"ELBStack": {
"Type": "AWS::CloudFormation::Stack",
"Properties": {
"TemplateURL": "https://s3.amazonaws.com/nubisproject-stacks/master/elb.template",
"TemplateURL": { "Fn::Join": [ "/", [ "https://s3.amazonaws.com/nubisproject-stacks", { "Ref": "StacksVersion" }, "elb.template" ] ] },
"TimeoutInMinutes": "60",
"Parameters": {
"ServiceName": {
Expand All @@ -113,7 +118,7 @@
"Route53Stack": {
"Type": "AWS::CloudFormation::Stack",
"Properties": {
"TemplateURL": "https://s3.amazonaws.com/nubisproject-stacks/master/route53.template",
"TemplateURL": { "Fn::Join": [ "/", [ "https://s3.amazonaws.com/nubisproject-stacks", { "Ref": "StacksVersion" }, "route53.template" ] ] },
"TimeoutInMinutes": "60",
"Parameters": {
"DNSName": {
Expand Down

0 comments on commit 8a5ce2b

Please sign in to comment.