Skip to content

Instantly share code, notes, and snippets.

@tuladhar
Created October 24, 2020 05:12
Show Gist options
  • Select an option

  • Save tuladhar/07f7aff8c06e22f6704f9e96b9f28bc8 to your computer and use it in GitHub Desktop.

Select an option

Save tuladhar/07f7aff8c06e22f6704f9e96b9f28bc8 to your computer and use it in GitHub Desktop.
Resources:
LambdaFunction:
Type: AWS::Serverless::Function
Properties:
CodeUri: src/
Handler: main
Runtime: go1.x
Environment:
Variables:
WEBHOOK_URL: !Ref WebhookUrl
CHANNEL: !Ref Channel
ENVIRONMENT_NAME: !Ref EnvironmentName
ENVIRONMENT_TYPE: !Ref EnvironmentType
Tags:
EnvironmentName: !Ref EnvironmentName
EnvironmentType: !Ref EnvironmentType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment