Skip to content

Commit

Permalink
Update dynamodb_lambda_stack.py (#301)
Browse files Browse the repository at this point in the history
Small typo fixes
  • Loading branch information
jordan-wright authored Jun 17, 2020
1 parent 6d9a3a0 commit 1214bfc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:

producer_lambda.add_environment("TABLE_NAME", demo_table.table_name)

# grant permission to lamnbda to write to demo table
# grant permission to lambda to write to demo table
demo_table.grant_write_data(producer_lambda)

# create consumer lambda function
Expand All @@ -40,7 +40,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:

consumer_lambda.add_environment("TABLE_NAME", demo_table.table_name)

# grant permission to lamnbda to read from demo table
# grant permission to lambda to read from demo table
demo_table.grant_read_data(consumer_lambda)

# create a Cloudwatch Event rule
Expand Down

0 comments on commit 1214bfc

Please sign in to comment.