# ----------------------------------------------------------------------------------------------------------- # IAM Role for Redirect Lambda resource "aws_iam_role" "lambda_redirect" { name = "${var.site}-lambda-redirect-role" assume_role_policy = <