Skip to content

Commit ebb1b19

Browse files
authored
add conditions for data exports (#283)
1 parent 5dd031c commit ebb1b19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

data-exports/deploy/data-exports-aggregation.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AWSTemplateFormatVersion: "2010-09-09"
2-
Description: AWS Billing Data Export Aggregation v0.1.6
2+
Description: AWS Billing Data Export Aggregation v0.1.7
33
Metadata:
44

55
AWS::CloudFormation::Interface:
@@ -1512,10 +1512,12 @@ Resources:
15121512

15131513
Outputs:
15141514
AggregateBucketName:
1515+
Condition: IsDestinationAccount
15151516
Description: Bucket with aggregate Data Exports
15161517
Value: !Sub ${ResourcePrefix}-${DestinationAccountId}-data-exports
15171518
Export: { Name: 'cid-DataExports-Bucket'}
15181519
Database:
1520+
Condition: DeployAnyTable
15191521
Description: Database for Data Exports
15201522
Value: !Join [ '_', !Split [ '-', !Sub '${ResourcePrefix}_data_export' ] ] # replace '-' to '_'
15211523
Export: { Name: 'cid-DataExports-Database'}

0 commit comments

Comments
 (0)