From 6ae3759db861dfd778e1f357806902d21ac52227 Mon Sep 17 00:00:00 2001 From: Uladzislau Orlovskiy Date: Thu, 15 May 2025 20:17:05 +0200 Subject: [PATCH] fix: replace id with suffix. --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 5ce274f..948e062 100644 --- a/main.tf +++ b/main.tf @@ -115,7 +115,7 @@ data "aws_iam_policy_document" "assume_role" { principals { type = "Service" - identifiers = ["rds.${data.aws_service_principal.rds[0].dns_suffix}"] + identifiers = ["rds.${data.aws_service_principal.rds[0].suffix}"] } } }