Commit b35806b7 by Feanil Patel

Minor Worker application related fixes.

Make sure the workers reference the correct wait handle and are in the RDS security group.
parent b6e91fe8
...@@ -3974,6 +3974,9 @@ ...@@ -3974,6 +3974,9 @@
"Ref":"EdxappServerSecurityGroup" "Ref":"EdxappServerSecurityGroup"
}, },
"EC2SecurityGroupId":{ "EC2SecurityGroupId":{
"Ref":"WorkerServerSecurityGroup"
},
"EC2SecurityGroupId":{
"Ref":"XqueueServerSecurityGroup" "Ref":"XqueueServerSecurityGroup"
} }
} }
...@@ -4103,7 +4106,7 @@ ...@@ -4103,7 +4106,7 @@
"{\n", "{\n",
" cfn-signal -e 1 -r \"$1\" '", " cfn-signal -e 1 -r \"$1\" '",
{ {
"Ref":"EdxServerWaitHandle" "Ref":"WorkerServerWaitHandle"
}, },
"'\n", "'\n",
" exit 1\n", " exit 1\n",
...@@ -4142,7 +4145,7 @@ ...@@ -4142,7 +4145,7 @@
"# If all went well, signal success\n", "# If all went well, signal success\n",
"cfn-signal -e $? -r 'Edx Server configuration' '", "cfn-signal -e $? -r 'Edx Server configuration' '",
{ {
"Ref":"EdxServerWaitHandle" "Ref":"WorkerServerWaitHandle"
}, },
"'\n" "'\n"
] ]
......
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