data "archive_file" "recovered" { type = "zip" source_file = "recovered/lambda_function.py" output_path = "${path.module}/build/recovered.zip" } resource "aws_iam_role" "recovered" { path = "/service-role/" name = "recovered" assume_role_policy = <