Events Fire, the Queue Stays Empty
The rule scheduler-ui-order-placed on the default event bus matches order events and has the SQS queue scheduler-ui-fulfilment as its target. On AWS, the rule's metrics show FailedInvocations for every event, and the queue stays empty: the queue's access policy doesn't let EventBridge send to it.
scheduler-ui-fulfilment allows the EventBridge service to send messages to it, only on behalf of the rule scheduler-ui-order-placed."Principal": "*" without that restriction, and no other actions than sending messages.This machine has an AWS-style account (an emulator: nothing is billed). Your AWS CLI is signed in as the account's administrator. The emulator delivers events without checking the policy, so the grader reads the policy the way SQS does.
About this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Part of AWS Hands-On. Next step: The Alarm That Never Rang
Teaching or writing about this? Embed this lab on your page
Your machine is ready to start
A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.
No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.