Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mortonprod/goserver


https://github.com/mortonprod/goserver

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# Introduction

This repository will deploy a go app to google cloud. It should work for any simple go app.

## Custom

The app included is an introduction to me. Forever a self promoter.

Remember to change accounts:

```
export AWS_PROFILE=personal
```

# To build go app

```
go build -o ./dist/main ./src/main.go
```

# Notes

Google does not support go serverless.
Terraform far too complicated a setup
Serverless setup failed.
Must be in eu-east-1 for ACM to work so how do I move between regions. Had an old example I think...
Need to create domain and SSL certificate.
Need to create s3 bucket to store state.

# To do

export GOPATH=$HOME
export GOBIN=$GOPATH/bin

# Reference

https://github.com/snsinfu/terraform-lambda-example