Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

refactor(terraform): drop explanatory comments from team_member_add

yassin0746cdbf2cf4
diff --git a/terraform/provider/litellm/resource_team_member_add.go b/terraform/provider/litellm/resource_team_member_add.go
index ad846d549b1..ca3541408ba 100644
--- a/terraform/provider/litellm/resource_team_member_add.go
+++ b/terraform/provider/litellm/resource_team_member_add.go
@@ -95,7 +95,6 @@ func applyLimits(d *schema.ResourceData, payload map[string]interface{}) {
}
}
-// /team/member_update is a merge-patch, so a removed setting is cleared with an explicit null
func applyUpdateSettings(d *schema.ResourceData, payload map[string]interface{}) {
applyAddOnlySettings(d, payload)
applyLimits(d, payload)
@@ -191,7 +190,6 @@ func resourceLiteLLMTeamMemberAddCreate(d *schema.ResourceData, m interface{}) e
return err
}
- // ID is set before the limits call so a failure there taints the resource instead of orphaning the memberships
d.SetId(teamID)
if err := setMemberLimits(client, d, teamID, membersList); err != nil {