Skip to content

Commit

Permalink
Add ECS and Lambda coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Sep 25, 2024
1 parent 1ce6f28 commit 8b3f8a0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/daily-slack-snapshot/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,35 @@ def lambda_handler(event, context):
"alt_text": "EC2 savings plans coverage stacked bar chart",
},
{"type": "divider"},
{
"type": "image",
"title": {
"type": "plain_text",
"text": "ECS Savings Plan Coverage",
"emoji": True,
},
"image_url": daily_savings_plan_coverage_chart_url(
"Amazon Elastic Container Service",
date_start,
date_end,
),
"alt_text": "ECS (e.g. Fargate) savings plans coverage stacked bar chart",
},
{
"type": "image",
"title": {
"type": "plain_text",
"text": "Lambda Savings Plan Coverage",
"emoji": True,
},
"image_url": daily_savings_plan_coverage_chart_url(
"AWS Lambda",
date_start,
date_end,
),
"alt_text": "Lambda savings plans coverage stacked bar chart",
},
{"type": "divider"},
{
"type": "image",
"title": {
Expand Down

0 comments on commit 8b3f8a0

Please sign in to comment.