forked from Sage-Bionetworks-IT/organizations-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcategories.yaml
35 lines (34 loc) · 1.02 KB
/
categories.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
AWSTemplateFormatVersion: '2010-09-09'
Description: 'All Cost Categories'
Resources:
OwnerEmailCostCategory:
Type: 'AWS::CE::CostCategory'
Properties:
Name: 'Owner Email'
RuleVersion: 'CostCategoryExpression.v1'
Rules: >-
[
{
"Type": "INHERITED_VALUE",
"InheritedValue": {
"DimensionName": "TAG",
"DimensionKey": "synapse:email"
}
},
{
"Type": "INHERITED_VALUE",
"InheritedValue": {
"DimensionName": "TAG",
"DimensionKey": "OwnerEmail"
}
}
]
ProgramCodeCostCategory:
Type: 'AWS::CE::CostCategory'
Properties:
Name: 'Program Code'
RuleVersion: 'CostCategoryExpression.v1' # this MUST match the contents of the S3 file
'Fn::Transform':
Name: 'AWS::Include'
Parameters:
Location: 's3://sagebase-rules-microservice-outputbucket-17vzcnk2xnq0/cost-categories/program-code-rules.yaml'