Skip to content

Commit 0147f9f

Browse files
fix: remove unused policy
1 parent fdaea1e commit 0147f9f

File tree

1 file changed

+1
-12
lines changed
  • modules/langgraph_cloud_setup

1 file changed

+1
-12
lines changed

modules/langgraph_cloud_setup/main.tf

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,18 +147,7 @@ resource "aws_iam_role_policy_attachment" "secrets_read" {
147147
policy_arn = aws_iam_policy.secrets_read.arn
148148
}
149149

150-
// Create Load Balancer Role
151-
data "aws_iam_policy_document" "lb_assume_role" {
152-
statement {
153-
actions = ["sts:AssumeRole"]
154-
155-
principals {
156-
type = "Service"
157-
identifiers = ["elasticloadbalancing.amazonaws.com"]
158-
}
159-
}
160-
}
161-
150+
// Create Load Balancer Service Linked Role
162151
resource "aws_iam_service_linked_role" "elastic_load_balancing" {
163152
aws_service_name = "elasticloadbalancing.amazonaws.com"
164153
}

0 commit comments

Comments
 (0)