C1w3 lab grading error

Hi, i am doing data engineering specalisation on coursera. as part of course 1 introduction to data engineering week 3 lab, i was asked to create a dynamic scaling policy and after creating and submitting the work as described in the read me of the lab. the grader is showing that it can’t find the dynamic scaling policy created.


 $AUTO_SCALING_GROUP_NAME=`aws autoscaling describe-auto-scaling-groups --output text --query "AutoScalingGroups[0].AutoScalingGroupName"`
$ echo $AUTO_SCALING_GROUP_NAME
c62825a3581670l9509048t1w891377180750-AutoScalingGroup-MUfn4NwZGBMS
$ SCALING_POLICY=$(aws autoscaling describe-policies --auto-scaling-group-name $AUTO_SCALING_GROUP_NAME --query 'ScalingPolicies[?PolicyName==`de-c1w3-scaling-policy`]')
~ $ echo $SCALING_POLICY
[ ]

Hello @Chandra_Naveen_Kumar,

Your dynamic scaling policy looks correct and the grader should pass. The grader is sensitive to the exact name in case you copy pasted it with additional spaces. Could you check you typed exactly what is asked. If you can’t create a new policy you could edit this one metric to cpu utilisation and then create a new with the ‘correct’ name. Thank you

hello @Georgios,

Thanks for your prompt response. I have created a new scaling policy like suggested and the grader accepted it. must be an additional space in the name.

1 Like