Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Alarms not added for containerized Lambda #211

Open
sarynik opened this issue Jan 17, 2022 · 0 comments
Open

Alarms not added for containerized Lambda #211

sarynik opened this issue Jan 17, 2022 · 0 comments

Comments

@sarynik
Copy link

sarynik commented Jan 17, 2022

This is a Bug Report

Description

I am trying to add an alarm to a containerized Lambda_. I couldn't find any mention of whether this is officially supported
The deployment runs fine with no errors, but the alarms do not get created. I do not observe this issue with regular (non-containerized) Lambda functions.

The config is pasted below:

service: lambda-ecr-unoconv

provider:
  name: aws
  region: eu-west-1
  memorySize: 1024
  timeout: 900 #sec
  deploymentBucket:
    name: ${opt:stage}-serverless-deployment
  iam:
    role: ${ssm:/${opt:stage}-lambda-serverless-role-arn}
  ecr:
    images:
      appimage:
        path: ./

plugins:
  - serverless-plugin-aws-alerts

functions:
  main:
    name: ${opt:stage}-unoconv
    environment:
      INPUT_S3_BUCKET: ${ssm:/${opt:stage}-file-upload-bucket-name}
    image:
      name: appimage

custom:
  alerts:
    stages:
      - production
    topics:
      alarm:
        topic: ${ssm:/${opt:stage}-alarms-sns-arn}

Additional Data

  • Serverless Framework Version: 2.71
  • Stack Trace: No error thrown
  • Provider Error messages: No error thrown
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant