mixpanel_service_account_project (Resource)¶
Associates a service account with a project — grants the service account access to the project so it can perform API operations within that project's scope.
Example Usage¶
resource "mixpanel_service_account_project" "terraform_prod" {
organization_id = 7654321
key = "987654:1234567"
payload = jsonencode({
serviceaccount_id = 987654
project_id = 1234567
})
}
Schema¶
Required¶
key(String) Read-selection key for this association (composite key identifying the service account and project association (format: serviceaccount_id:project_id)). Changing it forces a new association.payload(String) jsonencode'd request body for the create/delete verbs (the API bodies are untyped). Changing it forces a new association.
Optional¶
organization_id(String) Organization ID. Defaults to the provider organization.
Read-Only¶
id(String) Synthetic composite identity: ": ".
Import¶
Import using the composite identifier ORGANIZATION_ID:SERVICE_ACCOUNT_ID:PROJECT_ID: