Skip to content

Instantly share code, notes, and snippets.

View nathankurt's full-sized avatar

Nathan Kurt nathankurt

View GitHub Profile
const https = require('https');
const { URL } = require('url');
/**
* determine latest OneAgent extension layer ARNs
* preconditions:
* - Dynatrace version 1.218 or later
* - the new serverless framework asychnronous variable resolver must be enabled. in order to do so,
* add `variablesResolutionMode: '20210326'` to the toplevel of your serverless.yml file.
* - DT_PAAS_TOKEN environment varible contains PaaS token required to query deployment API (alternatively,