Skip to content

Commit

Permalink
Add document for lambda permission import
Browse files Browse the repository at this point in the history
  • Loading branch information
chaspy committed Jul 16, 2019
1 parent c935e6f commit 0626a0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/docs/r/lambda_permission.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,11 @@ resource "aws_lambda_permission" "lambda_permission" {
* `statement_id_prefix` - (Optional) A statement identifier prefix. Terraform will generate a unique suffix. Conflicts with `statement_id`.

[1]: https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli

## Import

Lambda Function Aliases can be imported using the function_name/statement_id, e.g.

```
$ terraform import aws_lambda_function_permission.test_lambda_permission my_test_lambda_function/AllowExecutionFromCloudWatch
```

0 comments on commit 0626a0b

Please sign in to comment.