3

How can I invoke an existing lambda function from one of my AWS accounts in my terraform code?

i have the lambda name, arn and ID alongside with account number that is hosting the lambda

1 Answer 1

4

You can use aws_lambda_invocation:

Use this data source to invoke custom lambda functions as data source. The lambda function is invoked with RequestResponse invocation type.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.