How to add your own automations

Easily add your own automations or modify existing ones

Automations are written in Python3, each one is a self-contained Python (.py) file.

To add a new automation:

  1. Add a new .py file
  2. Implement the hyperglance_automation() function with logic for your automation.
  3. Implement the info() function to inform the Hyperglance UI about your automation:
    1. Name,
    2. Description,
    3. Any UI inputs it needs from the user,
    4. A list of compatible resource types.
    5. Any IAM permissions that it needs granted.
  4. Re-deploy the terraform stack with terraform apply
  5. Done: Your new automation will be immediately available and ready to use in the Hyperglance UI.