Create
Create an AWS Lambda function
tapit create lambda name=function_name runtime=python3.12 [handler=handler.handler] [function_code=CODE] | docker_tag=TAG) [description='desc'] [memory_mb=128] [timeout_seconds=30] [--ignore-existing]
Required
- name
Parameters
name: Name for the Lambda function (required)runtime: Lambda runtime (e.g., python3.12, nodejs18.x) - required for zip deploymenthandler: Handler function (default: handler.handler)function_code: Inline function codedocker_tag: Docker image tag for container-based Lambdadescription: Description of the functionmemory_mb: Memory allocation in MB (default: 128)timeout_seconds: Function timeout in seconds (default: 30)--ignore-existing: Skip creation if a resource with the same name already exists (useful for idempotent scripts)