- You press Ctrl-C.
- You close the terminal.
- bqto gets a
kill. - The command after
--exits. --durationruns out.
-- already
exited with a code other than 0, bqto keeps that code.
What can stay behind
To check that no bastion is left in a project, run:
Who created a bastion
The name of a bastion isbqto- plus eight random characters. The name does not say who ran the command.
This is on purpose. If it did, anyone who can list instances would see the email of a colleague.
The Admin Activity audit logs tell you who created a bastion.
Security has the queries.