Created
November 14, 2018 03:08
-
-
Save proclaim/9857bbdb1afffb81d2b7ab1415978a6b to your computer and use it in GitHub Desktop.
ansible for deploying to aws lambda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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