data "archive_file" "sqs_to_s3" { type = "zip" source_dir = "sonde-to-s3/" output_path = "${path.module}/build/sonde-to-s3.zip" } resource "aws_iam_role" "sqs_to_s3" { path = "/service-role/" name = "sqs_to_s3" assume_role_policy = <