libp2p-test-plans/perf/terraform/modules/ci/test/cleanup.yml

20 lines
514 B
YAML

AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: An AWS Lambda application.
Resources:
Cleanup:
Type: AWS::Serverless::Function
Properties:
Handler: cleanup.lambda_handler
Runtime: python3.9
CodeUri: ../files
Environment:
Variables:
REGIONS: '["us-west-2", "us-east-1"]'
TAGS: '{"Project":"perf", "Name":"node"}'
MAX_AGE_MINUTES: '120'
Policies:
- AmazonEC2FullAccess
Timeout: 30