Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 598 Bytes

File metadata and controls

17 lines (12 loc) · 598 Bytes

Deploy two AWS Lambda functions with serverless-webpack

The project will deploy two AWS Lambda functions with serverless-webpack and Dynatrace OneAgent.

Before packaging or deployment, add OneAgent options to serverless.yml file:

custom:
  serverless-oneagent:
    options: '{"server":"...","tenant":"...", "tenanttoken":"..."}'

Alternatively, options can be specified with --dt-oneagent-options command line argument.

serverless deploy --dt-oneagent-options='{"dynatraceTagPropertyPath":"headers.x-dynatrace","server":"...","tenant":"...","tenanttoken":"..."}'