Owner - normally this is a team distribution
list although sometimes it is an individual if it is a "10% time"
project. To make sure that the e-mail address entered is valid we
run a hourly scan of our estate to detect if there are new e-mail
addresses in this field then send an e-mail with an activation
link, failing to activate results in deletion after three
CostCenter - the numeric cost centre, we use
this to feed into the end of month reconciliation.
SDLCPhase - one of
Production. We use this to define different automated
Development and Test: deleted
overnight and at weekends to save on costs. Teams are responsible
for reprovisioning using the automation in the morning.
SIT, UAT and
PerfTest: deleted when the cost center in our
finance system is closed down.
PreProduction: scaled down overnight and when
the cost center is closed down.
Production: we validate that all resources
deployed to the production subscription have this tag, if they
don't we send out e-mails extensively.
DropDeadDate - for us, this is a required
field for everything except Production. We run a nightly scan and
send e-mails to the owner 7 days and 1 day before the
DropDeadDate then delete the resource after it has
在這方面的自動化方面，我傾向於使用 Janitor Monkey 和一些定制機器人是Azure函數，它們位於Slack