Skip to content

Commit

Permalink
fix: remove unused policy
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra committed Aug 19, 2024
1 parent fdaea1e commit 0147f9f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions modules/langgraph_cloud_setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 0147f9f

Please sign in to comment.