Commit 2d5a7337 by Feanil Patel

Update instance tags to match new scheme.

parent 194c0710
...@@ -4,8 +4,13 @@ ...@@ -4,8 +4,13 @@
"Parameters":{ "Parameters":{
"EnvironmentTag":{ "EnvironmentTag":{
"Type":"String", "Type":"String",
"Description":"A tag value applied to the hosts in the VPC indicating which environment to use during the configuration phase, e.g., dev, stage, prod", "Description":"A tag value applied to the hosts in the VPC indicating which environment to use during the configuration phase, e.g., stage, prod, sandbox",
"Default":"stage" "Default":"sandbox"
},
"DeploymentTag":{
"Type":"String",
"Description":"A tag value applied to the hosts in the VPC indicating which deployment this is, e.g., edx, edge, <university>, <org>",
"Default":"edx"
}, },
"KeyName":{ "KeyName":{
"Type":"String", "Type":"String",
...@@ -2040,7 +2045,7 @@ ...@@ -2040,7 +2045,7 @@
], ],
"Tags":[ "Tags":[
{ {
"Key":"group", "Key":"role",
"Value":"bastion" "Value":"bastion"
}, },
{ {
...@@ -2049,6 +2054,13 @@ ...@@ -2049,6 +2054,13 @@
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
}, },
"PropagateAtLaunch":true "PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
], ],
"UserData": { "Fn::Base64" : { "Fn::Join" : ["", [ "UserData": { "Fn::Base64" : { "Fn::Join" : ["", [
...@@ -2535,7 +2547,7 @@ ...@@ -2535,7 +2547,7 @@
], ],
"Tags":[ "Tags":[
{ {
"Key":"group", "Key":"role",
"Value":"edxapp", "Value":"edxapp",
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
...@@ -2545,6 +2557,13 @@ ...@@ -2545,6 +2557,13 @@
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
}, },
"PropagateAtLaunch":true "PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
], ],
"LaunchConfigurationName":{ "LaunchConfigurationName":{
...@@ -2930,7 +2949,7 @@ ...@@ -2930,7 +2949,7 @@
], ],
"Tags":[ "Tags":[
{ {
"Key":"group", "Key":"role",
"Value":"xqueue", "Value":"xqueue",
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
...@@ -2940,6 +2959,13 @@ ...@@ -2940,6 +2959,13 @@
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
}, },
"PropagateAtLaunch":true "PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
], ],
"LaunchConfigurationName":{ "LaunchConfigurationName":{
...@@ -3312,7 +3338,7 @@ ...@@ -3312,7 +3338,7 @@
], ],
"Tags":[ "Tags":[
{ {
"Key":"group", "Key":"role",
"Value":"rabbitmq", "Value":"rabbitmq",
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
...@@ -3322,6 +3348,13 @@ ...@@ -3322,6 +3348,13 @@
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
}, },
"PropagateAtLaunch":true "PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
], ],
"LaunchConfigurationName":{ "LaunchConfigurationName":{
...@@ -3728,7 +3761,7 @@ ...@@ -3728,7 +3761,7 @@
], ],
"Tags":[ "Tags":[
{ {
"Key":"group", "Key":"role",
"Value":"xserver", "Value":"xserver",
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
...@@ -3738,6 +3771,13 @@ ...@@ -3738,6 +3771,13 @@
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
}, },
"PropagateAtLaunch":true "PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
], ],
"LaunchConfigurationName":{ "LaunchConfigurationName":{
...@@ -4201,7 +4241,7 @@ ...@@ -4201,7 +4241,7 @@
], ],
"Tags":[ "Tags":[
{ {
"Key":"group", "Key":"role",
"Value":"worker", "Value":"worker",
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
...@@ -4211,6 +4251,13 @@ ...@@ -4211,6 +4251,13 @@
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
}, },
"PropagateAtLaunch":true "PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
], ],
"LaunchConfigurationName":{ "LaunchConfigurationName":{
...@@ -4595,7 +4642,7 @@ ...@@ -4595,7 +4642,7 @@
], ],
"Tags":[ "Tags":[
{ {
"Key":"group", "Key":"role",
"Value":"forum", "Value":"forum",
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
...@@ -4605,6 +4652,13 @@ ...@@ -4605,6 +4652,13 @@
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
}, },
"PropagateAtLaunch":true "PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
], ],
"LaunchConfigurationName":{ "LaunchConfigurationName":{
...@@ -5041,7 +5095,7 @@ ...@@ -5041,7 +5095,7 @@
], ],
"Tags":[ "Tags":[
{ {
"Key":"group", "Key":"role",
"Value":"mongo", "Value":"mongo",
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
...@@ -5051,6 +5105,13 @@ ...@@ -5051,6 +5105,13 @@
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
}, },
"PropagateAtLaunch":true "PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
], ],
"LaunchConfigurationName":{ "LaunchConfigurationName":{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment