Created
March 3, 2019 10:02
-
-
Save keithrozario/6b32c14fbb943a72d9a8f58b74a57c0f to your computer and use it in GitHub Desktop.
serverless-example-import.yml
This file contains hidden or 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
custom: | |
dbTempName: ${ssm:/${self:service.name}/${self:provider.stage}/dynamodb_temp_table} | |
dbTempArn: ${ssm:/${self:service.name}/${self:provider.stage}/dynamodb_temp_table_arn} | |
functions: | |
query_logs: | |
description: Query the certs from the Certificate Transparency Logs | |
handler: query_logs.query_to_db | |
environment: | |
db_table_name: ${self:custom.dbTempName} | |
iamRoleStatements: | |
- Effect: Allow | |
Action: | |
- dynamodb:PutItem | |
- dynamodb:BatchWriteItem | |
Resource: ${self:custom.dbTempArn} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment