This file contains hidden or 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
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: [AWS::Serverless-2016-10-31, AddSSMParametersMacro] | |
Description: SAM template for consuming a CloudFormation Macro | |
Resources: | |
ExampleWithEnvVarFunction: | |
Type: AWS::Serverless::Function | |
Properties: | |
CodeUri: example-with-env-var | |
Handler: function.handler |
This file contains hidden or 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
{ | |
"id": "80ff6024-13ee-4ca1-be85-179d6f65ba5d", | |
"name": "Breaking Change Detector", | |
"values": [ | |
{ | |
"key": "env-apiKey", | |
"value": "", | |
"enabled": true | |
}, | |
{ |
This file contains hidden or 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
FROM blazemeter/taurus | |
# taurus includes python and pip | |
RUN pip install --no-cache-dir awscli | |
# Taurus working directory = /bzt-configs | |
ADD ./load-test.sh /bzt-configs/ | |
# Added json files for Postman support | |
ADD Collection.json . | |
ADD test.json . |
This file contains hidden or 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
{ | |
"execution": [ | |
{ | |
"executor": "newman", | |
"iterations": 5000, | |
"scenario": "simple" | |
} | |
], | |
"scenarios": { | |
"simple": { |
This file contains hidden or 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
{ | |
"description": "<Your company here>", | |
"states": [ | |
{ | |
"name": "Trigger", | |
"type": "InitialState", | |
"properties": { | |
"offset": { | |
"x": 20, | |
"y": -170 |
This file contains hidden or 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
// Pulls from Function Layer - Must pull from 'opt/nodejs/<filename>' | |
const db = require('/opt/nodejs/database'); |
This file contains hidden or 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
// Pulls from Dependency Layer - Declared like normal | |
const Twilio = require('twilio'); | |
const short = require('short-uuid'); | |
const httpStatusCode = require('http-status-codes'); |
This file contains hidden or 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
Globals: | |
Function: | |
Layers: | |
- !Ref FunctionLayer | |
- !Ref DependencyLayer | |
Runtime: nodejs12.x | |
Timeout: 10 | |
Tracing: Active |
This file contains hidden or 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
FunctionLayer: | |
Type: AWS::Serverless::LayerVersion | |
Properties: | |
LayerName: FunctionLayer | |
ContentUri: layers/ | |
CompatibleRuntimes: | |
- nodejs12.x | |
RetentionPolicy: Retain |
This file contains hidden or 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
DependencyLayer: | |
Type: AWS::Serverless::LayerVersion | |
Properties: | |
LayerName: dependency-layer | |
ContentUri: dependencies/ | |
CompatibleRuntimes: | |
- nodejs12.x | |
RetentionPolicy: Retain |