provider "aws" { alias = "replication" region = "us-east-1" } data "aws_region" "current" {} data "aws_caller_identity" "current" {} data "aws_partition" "current" {} resource "aws_iam_role" "replication_s3_role" { name = "${var.project_name}-replication-role-${data.aws_region.current.id}" assume_role_policy = <