cloud-platform-test-cluster-reminder
is a simple service to automate Cloud Platform team test cluster cleanup reminders. It calls the AWS EKS ListClusters API and pushes the list of (test) clusters
currently running in the target AWS account.
Besides AWS credentials for API calls, you must pass in the following environment variables to the container runtime:
SLACK_WEBHOOK_URL
SLACK_CHANNEL
ie:
docker run -e SLACK_WEBHOOK_URL='https://hooks.slack.com/services/1234/abcd' -e SLACK_CHANNEL='#my-slack-channel` -e AWS_ACCESS_KEY_ID='xxxxx' -e AWS_SECRET_ACCESS_KEY='xxxxx' -it cluster-reminder
Currently configured to run on a morning/afternoon schedule within the Concourse reporting
pipeline