Update main.tf

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
vladislav-orlovskiy 2025-05-15 11:57:32 +02:00 committed by GitHub
parent c93848c9b6
commit 1fc2397af6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,7 +111,7 @@ data "aws_iam_policy_document" "assume_role" {
principals {
type = "Service"
identifiers = ["rds.amazonaws.com"]
identifiers = distinct(["rds.${data.aws_partition.current.dns_suffix}", "rds.amazonaws.com"])
}
}
}