Skip to content

Conversation

@matt-boland
Copy link

@matt-boland matt-boland commented Dec 29, 2025

Issue #, if available:
#2905

Description of changes:
This PR adds a new serverless pattern lambda-managed-instances-tf that demonstrates deploying AWS Lambda functions on Lambda Managed Instances using Terraform.

  • Complete Terraform infrastructure with VPC, subnets, and NAT gateways across 3 AZs
  • Hello World Lambda function with Python 3.13 runtime
  • CloudWatch logging with custom log groups
  • Automated testing scripts and comprehensive documentation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@marcojahn marcojahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @matt-boland, thank you for your contribution. I requested a few small changes. Please review.
Best regards & TY.

@@ -0,0 +1,360 @@
# Lambda Hello World on Lambda Managed Instances (Terraform)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Lambda Hello World on Lambda Managed Instances (Terraform)
# AWS Lambda Hello World on AWS Lambda Managed Instances (Terraform)

@@ -0,0 +1,3 @@
{
"name": "AWS Lambda on Managed Instances"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"name": "AWS Lambda on Managed Instances"
"name": "AWS Lambda on Lambda Managed Instances"

@@ -0,0 +1,72 @@
{
"title": "Lambda Hello World on Lambda Managed Instances (Terraform)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"title": "Lambda Hello World on Lambda Managed Instances (Terraform)",
"title": "AWS Lambda Hello World on AWS Lambda Managed Instances (Terraform)",

- Uses Python's standard logging library for event logging
- Demonstrates minimal Lambda function structure using Python type hints

### CloudWatch Log Group
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### CloudWatch Log Group
### Amazon CloudWatch Log Group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants