Skip to content

jayasankarp/aws.lambda.qr.code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET 6 AWS Lambda Deployment with Pulumi

This repository contains a simple example of how to use Pulumi to deploy an AWS Lambda function created using the .NET 6 framework.

Prerequisites

Before you begin, make sure you have the following prerequisites installed:

Getting Started

Follow these steps to deploy the AWS Lambda function using Pulumi:

  1. Clone this repository to your local machine:

    git clone https://github.com/jayasankarp/aws.lambda.qr.code.git
    cd aws.lambda.qr.code
  2. Initialize a new Pulumi stack:

    pulumi stack init aws.lambda.qr.code
  3. Configure your AWS credentials using the Pulumi CLI:

    pulumi config set aws:region us-east-1  # Replace with your desired AWS region
    pulumi config set aws:profile your-aws-profile-name  # If using named profiles
  4. Build and publish the .NET 6 Lambda function:

    dotnet publish -c Release
  5. Deploy the AWS Lambda function using Pulumi:

    pulumi up
  6. After the deployment is complete, Pulumi will provide you with the AWS Lambda function's endpoint and other relevant information. You can access your Lambda function in the AWS Management Console.

Cleanup

To clean up and destroy the AWS resources created by Pulumi, run:

pulumi destroy

Additional Resources

Happy coding! 🚀

About

.NET 6 AWS Lambda Function Deployment with Pulumi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages