# upstash_team

> Create and manage teams on Upstash.

<RequestExample>

```hcl example.tf
resource "upstash_team" "exampleTeam" {
  team_name    = "TerraformTeam"
  copy_cc      = false
  team_members = {
      # Owner is the owner of the api_key.
      "X@Y.Z": "owner",
      "A@B.C": "dev",
      "E@E.F": "finance",
    }
}
```

</RequestExample>

## Schema

### Required

<ParamField query="copy_cc" type="bool" required>
  Whether Credit Card is copied
</ParamField>

<ParamField query="team_members" type="map(string)" required>
  Members of the team. (Owner must be specified, which is the owner of the api
  key.)
</ParamField>

<ParamField query="team_name" type="string" required>
  Name of the team
</ParamField>

### Read-Only

<ResponseField name="id" type="string">
  The ID of this resource.
</ResponseField>

<ResponseField name="team_id" type="string">
  Unique Cluster ID for created cluster
</ResponseField>
