Last active
January 22, 2019 19:04
-
-
Save brianneisler/8f71a548fc4123028d5213fe72225336 to your computer and use it in GitHub Desktop.
Changing function's compute to Fargate
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
name: SimpleService | |
extends: Service | |
compute: | |
type: AwsFargateCompute # switched from AwsLambdaCompute | |
inputs: | |
runtime: nodejs | |
memory: 1024 | |
timeout: 3600 | |
functions: | |
indexPosts: | |
compute: ${this.compute} | |
handler: index.indexPosts | |
code: ./code | |
components: | |
cron: | |
type: Cron | |
inputs: | |
function: ${this.functions.indexPosts} | |
rate: 1h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment