mirror of
https://github.com/terraform-aws-modules/terraform-aws-rds-proxy.git
synced 2025-12-17 00:11:11 +00:00
fix: replace id with suffix.
This commit is contained in:
parent
324e2db868
commit
3b0ef6983d
1 changed files with 1 additions and 1 deletions
2
main.tf
2
main.tf
|
|
@ -115,7 +115,7 @@ data "aws_iam_policy_document" "assume_role" {
|
|||
|
||||
principals {
|
||||
type = "Service"
|
||||
identifiers = [data.aws_service_principal.rds[0].id]
|
||||
identifiers = ["rds.${data.aws_service_principal.rds[0].dns_suffix}"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue