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

https://github.com/nurdsoft/deployer-nomad-aws

Lambda & API Gateway setup to deploy Nomad jobs for automation and CI/CD like use cases.
https://github.com/nurdsoft/deployer-nomad-aws

aws hashistack nomad

Last synced: 7 months ago
JSON representation

Lambda & API Gateway setup to deploy Nomad jobs for automation and CI/CD like use cases.

Awesome Lists containing this project

README

          

# nomad-deploy-trigger

This contains all logic necessary to deploy a lambda function in AWS attached to an
API Gateway to trigger nomad jobs from the internet while keeping the nomad
infrastructure private. This is particularly useful in the case of CI/CD with
Github, Gitlab etc.

# Features

- Authentication
- One-click deployment

# Usage

```shell
$ make deploy TF_VARS=../../example.tfvars
```

This will run through the complete pipeline and

- compile the go binary
- package it up
- deploy it to AWS lambda with the appropriate configuration

The path for `TF_VARS` should be relative to the `deploy/app` folder.