fix: replace id with suffix.

This commit is contained in:
Uladzislau Orlovskiy 2025-05-15 20:16:08 +02:00
parent 324e2db868
commit 3b0ef6983d

View file

@ -115,7 +115,7 @@ data "aws_iam_policy_document" "assume_role" {
principals { principals {
type = "Service" type = "Service"
identifiers = [data.aws_service_principal.rds[0].id] identifiers = ["rds.${data.aws_service_principal.rds[0].dns_suffix}"]
} }
} }
} }