From 0147f9f1a3e727cb093fdab06f023aca74ec4e62 Mon Sep 17 00:00:00 2001 From: infra Date: Mon, 19 Aug 2024 13:37:29 -0700 Subject: [PATCH] fix: remove unused policy --- modules/langgraph_cloud_setup/main.tf | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/modules/langgraph_cloud_setup/main.tf b/modules/langgraph_cloud_setup/main.tf index 00f010d..bd8c9a7 100644 --- a/modules/langgraph_cloud_setup/main.tf +++ b/modules/langgraph_cloud_setup/main.tf @@ -147,18 +147,7 @@ resource "aws_iam_role_policy_attachment" "secrets_read" { policy_arn = aws_iam_policy.secrets_read.arn } -// Create Load Balancer Role -data "aws_iam_policy_document" "lb_assume_role" { - statement { - actions = ["sts:AssumeRole"] - - principals { - type = "Service" - identifiers = ["elasticloadbalancing.amazonaws.com"] - } - } -} - +// Create Load Balancer Service Linked Role resource "aws_iam_service_linked_role" "elastic_load_balancing" { aws_service_name = "elasticloadbalancing.amazonaws.com" }