I’m trying to implement something that will safeguard a user from spending too much money on Amazon. Initially I want to set a MAX number of VMs that can run on Amazon. If the user provisions more (be it via ManageIQ or directly via the Amazon APIs), I want to send a warning via email (or shut the VMs down).
What I was thinking is this:
- Create a new control policy.
- Connect it to the “VM Discovered” event
- Condition: ProviderType = Amazon AND Total Amazon VMs > SomeValue
- Action: send an email (or shut it down…)
I’m currently stuck at point 2, as I don’t see the “VM Discovered” event anymore on CloudForms 4.2. We found it in the docs but i can’t find it in the product anymore.
Also I would like to understand if a condition like the one I described above is possible.