You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/lambda_invocation.html.markdown
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,3 +181,23 @@ The following arguments are optional:
181
181
This resource exports the following attributes in addition to the arguments above:
182
182
183
183
*`result` - String result of the Lambda function invocation.
184
+
185
+
## Import
186
+
187
+
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Lambda Invocation using the `function_name,qualifier,result_hash`. For example:
188
+
189
+
```terraform
190
+
import {
191
+
to = aws_lambda_invocation.test_lambda
192
+
id = "my_test_lambda_function,$LATEST,b326b5062b2f0e69046810717534cb09"
193
+
}
194
+
```
195
+
196
+
Using `terraform import`, import Lambda Invocation using the `function_name,qualifier,result_hash`. For example:
0 commit comments