From 131b35fde9c2f294d2e57f713f4448e94b0b07eb Mon Sep 17 00:00:00 2001 From: Uladzislau Orlovskiy Date: Mon, 19 May 2025 20:57:57 +0200 Subject: [PATCH] fix: replace id with name --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 948e062..aada49a 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].suffix}"] + identifiers = [data.aws_service_principal.rds[0].name] } } }