Skip to content

Instantly share code, notes, and snippets.

View leegilmorecode's full-sized avatar
:atom:
Serverless Hero

Lee Gilmore leegilmorecode

:atom:
Serverless Hero
View GitHub Profile
@leegilmorecode
leegilmorecode / serverless.ts
Created June 19, 2021 14:16
Example of configuring alarms only for certain environments
import type { AWS } from "@serverless/typescript";
import hello from "@functions/hello";
import { configureAlarms } from "@libs/alarms";
const serverlessConfiguration: AWS = {
service: "test",
frameworkVersion: "2",
custom: {
webpack: {