Closed andig closed 3 years ago
Seems it should be possible to use:
data "aws_caller_identity" "current" {}
and
"Resource": [
"arn:aws:ses:${var.aws_region}:${data.aws_caller_identity.current.account_id}:identity/*"
]
See https://github.com/alemuro/terraform-aws-ses-email-forwarding/blob/master/main.tf#L34