Skip to content

Commit

Permalink
Create AWS Cloud Map namespace for Redis ECS service discovery.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnguonly committed Aug 27, 2024
1 parent aabe2c4 commit 06650cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/langgraph_cloud_setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ module "langgraph_cloud_setup" {
langgraph_role_arn = "arn:aws:iam::640174622193:role/HostBackendRoleProd"
langgraph_external_ids = ["Your Organization ID"]
}
```
11 changes: 11 additions & 0 deletions modules/langgraph_cloud_setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,14 @@ resource "aws_security_group" "langgraph_cloud_service_sg" {
langgraph-cloud-enabled = "1"
}
}

// Create AWS Cloud Map namespace for Redis ECS service discovery
resource "aws_service_discovery_private_dns_namespace" "langgraph_cloud_redis" {
name = "langgraph-cloud-redis"
description = "LangGraph Cloud Redis service discovery namespace"
vpc = var.vpc_id

tags = {
langgraph-cloud-enabled = "1"
}
}

0 comments on commit 06650cf

Please sign in to comment.