Run Harebell · Day to day

When Harebell needs a change to its access

Sometimes a new release of Harebell needs a permission that its role in your account does not have yet. Harebell cannot grant that permission to itself, and you would not want it to. So it asks you, and you approve the exact change in your own AWS console. This page shows you what the request looks like, how to read it, and how to apply it. It takes a few minutes, and an admin needs the AWS rights to update a CloudFormation stack in the account.

Why you are asked#

When you connected your account, you created one stack called harebell. It holds the role Harebell uses (harebell-control) and a permissions boundary, which is a ceiling on what that role and every role created after it can do. Everything else Harebell builds in your account is built inside that ceiling.

The role is deliberately unable to change the stack that defines it. It can prepare a change, but it is explicitly denied from running one. The result is that your approval is the only way Harebell's permissions in your account can grow, and you see precisely what grows before it does.

Steps#

0 of 5 done
  1. 1

    Open the card on the Cloud account page#

    Sign in to the console as an admin and open Settings, then Cloud account. When an update is waiting, a card titled Harebell needs a change to its access is at the top of the page. People who are not admins see the same card marked Waiting for an admin, with a line telling them to ask one. You do not need to react to the card at once, because Harebell keeps working as it was in the meantime. How Harebell keeps itself up to date explains what is held back while it waits.

  2. 2

    Read what changes#

    Under "What changes" the card lists, in plain sentences, what the new version of the stack does differently. Read these as a security reviewer would. For example, an update might say that it keeps the roles Harebell makes from reading the password of any database in your account that is not Harebell's own. That kind of change narrows what Harebell can do. Others add something, such as a new kind of access Harebell needs for a feature. Whichever it is, the card names it, so you are never approving a version number you cannot read.

    If one of the sentences surprises you, stop here and ask Harebell before you apply it. Nothing is lost by waiting.

  3. 3

    Review the change in AWS#

    Press Review in AWS. Harebell has already prepared the update in your account as a CloudFormation change set named harebell-v followed by the new version number. The button opens AWS on that exact change set. You see every resource that will be added, changed or removed, which is more detail than the card gives. Check that it matches the card.

    If your account was set up long ago, Harebell may not be able to prepare a change set, and the card shows Update the stack instead. That button opens the CloudFormation update screen with the new template already filled in. Keep every parameter as it is and submit. If even that is unavailable, the card gives a link to download the new template and tells you how to replace the template of the harebell stack by hand, again keeping every parameter.

  4. 4

    Execute the change set#

    In AWS, choose Execute change set and confirm. This is the step that only you can do: it runs under your own AWS identity, not Harebell's. CloudFormation then updates the harebell stack, which usually takes a minute or two. As with every change, it appears as stack events in your account and in CloudTrail under your name.

    If you prefer a terminal, the card also shows a command you can paste into CloudShell, the terminal built into the AWS console.

  5. 5

    Wait for the card to clear#

    After you press the button, the page watches your stack for half an hour. It shows Waiting for AWS while it does, and the card disappears once the update has finished. Your account also tells Harebell when the stack finishes, so this is normally quick. If the half hour passes without the update, the page says it stopped checking, and Check again starts the watch over once you have run the change set.

    Once Harebell sees the new version, it carries on with the platform update that was waiting, on its next look, and you do nothing more.

If you do not approve#

Nothing stops. Your apps keep running and your people keep signing in. Harebell does not apply the platform update that needs the new permission, and any feature that depends on it is unavailable until you approve. The card stays on the Cloud account page until you apply the change, so Your weekly routine includes a glance at that page.

Careful

Approve changes only from the card or from the link it opens. Do not edit the harebell stack by hand, and do not create it a second time. A hand-edited stack is outside every review, and a second copy confuses the role Harebell trusts.