{
  "repo": "tidbcloud/eks-bootstrap",
  "binary": "eks-bootstrap",
  "binary_path": ".",
  "dependencies": {
    "Runtime BootstrapWorker.Handler": {
      "infrastructure": {
        "aws_lambda": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Handle event-driven bootstrap or status requests",
              "trigger": "lambda.Start(Handler)",
              "implementation": "Handler(ctx, req)"
            }
          ]
        },
        "kubernetes": {
          "conditions": [
            "When the request contains bootstrap or status work"
          ],
          "operations": [
            {
              "operation": "Create controller-runtime client for target EKS cluster and reconcile bootstrap objects",
              "trigger": "handlerBootstrap / checkStatus",
              "implementation": "constructEKSClient(...); deployFrpc(...); updateCoreDNS(...)"
            }
          ]
        }
      },
      "services": []
    }
  }
}
