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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With