Cloud Support

Cloud Management

DivvyCloud has the ability for you to add unlimited key/value pairs to your cloud accounts to help you manage your distributed resources. DivvyCloud uses badges, which are similar in functionality to tags. You are able to use badges to add, for example, environment: development and owner: to specific cloud accounts.

Once you add these key/value pairs, you can filter your resources accordingly. To continue the example above, from the Resources section of DivvyCloud, you are able to list all instances across all cloud accounts, but then filter those instances so that you are looking only instances from clouds with the environment: development badge.

You can also use this information in messages. For example, you could use the following message, which uses Jinja2 templating and Slack formatting, to send an alert via Slack when a resource is created without tags mandated by policy. In our example, the returned badge value for the owner badge key will be

A resource of type `{{event.resource.get_resource_type()}}` was discovered
at `{{event.resource.common.creation_timestamp}}` without the required _owner_
or _contact-email_ tags. The resource name is `{{event.resource.get_resource_name()}}`.
It lives in account `{{event.resource. get_organization_service_name()}}`,
which is owned by {{event.resource.get_badge_value_by_key_for_parent_cloud('owner')}}`.\n---

Of note, all badge key/value pairs are converted to lowercase and searches are not case sensitive.