go-lambda-blueprint

command module
v0.0.0-...-9e569fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 5 Imported by: 0

README

Go-Lambda Blueprint

GitHub go.mod Go version (branch) GitHub Actions Workflow Status

Allows users to spin up a quick Go lambda project using CDK

Requirements

  • CDK
  • SAM
  • AWS Account
  • GO
AWS Account

Once you have created the account and its access keys, you will need to set up the proper permissions in order to deploy the services accordingly via CDK.

The following permissions should be enough to accomplish that:

  • AmazonEC2ContainerRegistryFullAccess
  • AmazonS3FullAccess
  • AmazonSSMFullAccess
  • AWSCloudFormationFullAccess
  • IAMFullAccess
CDK

Once the CDK is installed and available, run $ make bootstrap in order to provision CDK base resources in AWS.

After that, you must be able to deploy it $ make deploy

Note: the Makefile is set to use the profile go-lambda-blueprint, so remember to change it in case you create an user with a different name

Local development

Running $ make local will create a local API via SAM CLI.

Note: you have to run that command again after every change

Questions?

Check the Makefile $ make help or open an issue. I will be happy to help you!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lambda module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL