{"id":17647946,"url":"https://github.com/moritzzimmer/func","last_synced_at":"2025-05-07T05:50:00.181Z","repository":{"id":39615400,"uuid":"180818677","full_name":"moritzzimmer/func","owner":"moritzzimmer","description":"Func is a CLI app to simplify development and deployment of serverless functions using Go, Terraform and AWS.","archived":false,"fork":false,"pushed_at":"2023-01-23T23:01:34.000Z","size":2540,"stargazers_count":10,"open_issues_count":10,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T05:49:39.288Z","etag":null,"topics":["aws","aws-lambda","cli","go","golang","lambda","serverless","terraform"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moritzzimmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-04-11T15:14:51.000Z","updated_at":"2022-08-31T07:34:50.000Z","dependencies_parsed_at":"2023-01-29T23:15:23.968Z","dependency_job_id":null,"html_url":"https://github.com/moritzzimmer/func","commit_stats":null,"previous_names":["spring-media/func"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzzimmer%2Ffunc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzzimmer%2Ffunc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzzimmer%2Ffunc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzzimmer%2Ffunc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moritzzimmer","download_url":"https://codeload.github.com/moritzzimmer/func/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823693,"owners_count":21809709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-lambda","cli","go","golang","lambda","serverless","terraform"],"created_at":"2024-10-23T11:15:04.305Z","updated_at":"2025-05-07T05:50:00.158Z","avatar_url":"https://github.com/moritzzimmer.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/moritzzimmer/func/blob/master/logo.png\" width=\"360\"\u003e\u003c/p\u003e\n\n# func ![](https://github.com/moritzzimmer/func/workflows/ci/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/moritzzimmer/func)](https://goreportcard.com/badge/github.com/moritzzimmer/func) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nFunc is a CLI app to simplify development and deployment of AWS Lambda functions using Go and Terraform. It'll scaffold an optionated project structure generating code for\n\n- function code\n- build and deployment automation using make\n- IaaS using terraform modules ([terraform-aws-lambda](https://github.com/moritzzimmer/terraform-aws-lambda))\n- continuous integration using GitHub actions\n\nFunc is in an early alpha stage so expect bugs and breaking changes but give it a try!\n\n## installation\n\nBefore installing `func` please make sure your system meets the following requirements:\n\n- a working Go environment ([Go 1.11+](https://golang.org/))\n- a working terraform environment ([Terraform 0.11+](https://www.terraform.io/downloads.html))\n- configured [AWS credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) with sufficient IAM permissions for creating/deleting ressources from [terraform-aws-lambda](https://github.com/moritzzimmer/terraform-aws-lambda) module\n\n### Homebrew (macOS)\n\n```\nbrew install moritzzimmer/tap/func\n```\n\n### from release archive - 64 bits\n\nMacOS\n\n```\n$ curl -OL https://github.com/moritzzimmer/func/releases/download/v0.0.21/func_0.0.21_darwin_amd64.tar.gz\n$ tar -xvzf func_0.0.21_darwin_amd64.tar.gz\n$ sudo mv func /usr/local/bin/func\n```\n\nGNU/Linux\n\n```\n$ wget https://github.com/moritzzimmer/func/releases/download/v0.0.21/func_0.0.21_linux_amd64.tar.gz\n$ tar -xvzf func_0.0.21_linux_amd64.tar.gz\n$ sudo mv func /usr/local/bin/\n```\n\n### verify installation\n\n```\n$ func\nFunc is a CLI app to simplify development and deployment\n\tof serverless functions using Go, Terraform and AWS.\n\nUsage:\n  func [command]\n\nAvailable Commands:\n  help        Help about any command\n  new         Creates a new Lambda project\n  version     Print version information of func\n\nFlags:\n  -h, --help   help for func\n\nUse \"func [command] --help\" for more information about a command.\n```\n\n## generate new project\n\n### quickstart\n\n(outside of `$GOPATH`)\n\n```\n$ func new github.com/you/foo\n$ cd foo/\n$ make init package deploy\n```\n\n### all options\n\n```\n$ func help new\nCreates Terraform, CI and Go ressources for a new AWS Lambda project\nin a new directory.\n\nUsage:\n  func new [module name] [flags]\n\nAliases:\n  new, initialize, initialise, create, init\n\nExamples:\nfunc new github.com/you/app\n\nFlags:\n      --ci string      ci provider config file to generate [none, gh] (default \"none\")\n  -d, --dry-run        dry run\n  -e, --event string   event type triggering the Lambda function [cloudwatch-event, dynamodb, kinesis, s3, sns, sqs] (default \"cloudwatch-event\")\n  -h, --help           help for new\n```\n\n## shoulders of giants\n\nfunc would not be possible if not for all of the great projects it depends on. Please see [SHOULDERS.md](SHOULDERS.md) to see a list of them.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoritzzimmer%2Ffunc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoritzzimmer%2Ffunc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoritzzimmer%2Ffunc/lists"}