Skip to content

Instantly share code, notes, and snippets.

@proclaim
Created November 14, 2018 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save proclaim/9857bbdb1afffb81d2b7ab1415978a6b to your computer and use it in GitHub Desktop.
Save proclaim/9857bbdb1afffb81d2b7ab1415978a6b to your computer and use it in GitHub Desktop.
ansible for deploying to aws lambda
---
- hosts: localhost
connection: local
gather_facts: false
tasks:
- name: Create Lambda function
lambda:
name: hello-Taiwan
region: us-east-1
zip_file: "main.zip"
state: present
role: #your aws role
runtime: "go1.x"
handler: "main"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment