From c82dca7408be8b69ed4c5f45d406201ae56f2e88 Mon Sep 17 00:00:00 2001 From: Joni Harker Date: Mon, 12 Feb 2024 11:59:47 -0800 Subject: [PATCH] [IT-3386] Send a copy of cost reports to a new google group. Update the email report lambda to a version that supports sending copies to additional recipients, and add a newly-created google group as an additional recipient. Depends on Sage-Bionetworks-IT/lambda-finops-email-totals#19 --- org-formation/050-costs/_tasks.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-formation/050-costs/_tasks.yaml b/org-formation/050-costs/_tasks.yaml index 914c915d..e4230e54 100644 --- a/org-formation/050-costs/_tasks.yaml +++ b/org-formation/050-costs/_tasks.yaml @@ -61,13 +61,14 @@ CostCategories: # use the payer account so that cost explorer aggregates member account data CostNotificationMicroservice: Type: update-stacks - Template: !Sub 'https://${AdminCentralCfnBucket}.s3.amazonaws.com/lambda-finops-email-totals/1.0.0/lambda-finops-email-totals.yaml' + Template: !Sub 'https://${AdminCentralCfnBucket}.s3.amazonaws.com/lambda-finops-email-totals/1.1.0/lambda-finops-email-totals.yaml' StackName: !Sub '${resourcePrefix}-cost-notifications' DefaultOrganizationBinding: Account: !Ref MasterAccount Region: !Ref primaryRegion Parameters: AdminEmail: "it@sagebase.org" + CopyRecipients: "cloud-cost-audit@sagebase.org" # Uncomment the following lines to disable user reports #RestrictRecipients: "True" #ApprovedRecipients: "it@sagebase.org"