Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 2.8 KB

File metadata and controls

21 lines (14 loc) · 2.8 KB

Configure Assignment Rules

There are two ways to configure assignment rules in FinOps for Cloud. You can add them from the Pools or Resources pages.

When a new rule is added, it's always prioritized across the organization. It means that any discovered resources are first checked against the conditions of this new rule. If the resource doesn't meet the new rule's conditions, it's checked against the remaining rules in descending order until a matching rule is found.

Configuring a new assignment rule

To configure a new assignment rule:

  1. Navigate to the Add automatic Resource Assignment Rule page using one of the following steps:
    • Open the Pools page and select Configure assignment rules. Next, on the Assignment rules page, select Add.
    • Open the Resources page and select a resource. On the resource's details page, select Add assignment rule.
  2. Under Name, enter a name for the rule.
  3. Under Conditions, select all conditions that must be fulfilled for the rule to become applicable. The following conditions are available:
TypeKey/ValueDescription
Name/ID starts withstring valueMatches resources where the name or ID begins with the specified value.
Name/ID ends withstring valueMatches resources where the name or ID ends with the specified value.
Name/ID isstring valueMatches resources with an exact name or ID match.
Name/ID containsstring valueMatches resources where the name or ID contains the specified substring.
Tag iskey-value pairMatches resources with a tag that matches both the specified key and value.
Tag existskey-value pairMatches resources that have a tag with the specified key.
Tag value starts withkey-value pairMatches resources with a tag value starting with the specified value for the given key.
Source isselected rowMatches resources from a selected data source. Options are presented in a dropdown for selecting the source.
Resource type isstring valueMatches resources where the resource type contains the specified value.
Region isstring valueMatches resources where the region contains the specified value.
  1. Add additional conditions as required.
  2. Under Assign to, review the Target pool and Owner. By default, the matching resource is included in the selected target pool and assigned to an owner. You can change the values as relevant.
  3. Select Create to finalize the rule.