This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |