Commit 8d4b9bb8 by Feanil Patel

Update worker and edxapp tags and allow workers to add instances.

parent ce7a9cf6
...@@ -3084,6 +3084,11 @@ ...@@ -3084,6 +3084,11 @@
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
{ {
"Key":"services",
"Value":"edxapp,lms,cms",
"PropagateAtLaunch":true
},
{
"Key":"environment", "Key":"environment",
"Value":{ "Value":{
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
...@@ -4642,6 +4647,7 @@ ...@@ -4642,6 +4647,7 @@
"WorkerServer":{ "WorkerServer":{
"Type":"AWS::AutoScaling::LaunchConfiguration", "Type":"AWS::AutoScaling::LaunchConfiguration",
"Properties":{ "Properties":{
"IamInstanceProfile":{ "Ref":"EdxappInstanceProfile" },
"SecurityGroups":[ "SecurityGroups":[
{ {
"Ref":"WorkerServerSecurityGroup" "Ref":"WorkerServerSecurityGroup"
...@@ -4717,6 +4723,11 @@ ...@@ -4717,6 +4723,11 @@
"PropagateAtLaunch":true "PropagateAtLaunch":true
}, },
{ {
"Key":"services",
"Value":"worker",
"PropagateAtLaunch":true
},
{
"Key":"environment", "Key":"environment",
"Value":{ "Value":{
"Ref":"EnvironmentTag" "Ref":"EnvironmentTag"
......
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