Skip to content

Commit

Permalink
Generate table correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
guineveresaenger committed Dec 2, 2024
1 parent ac77219 commit a5a7188
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 88 deletions.
110 changes: 23 additions & 87 deletions docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ layout: package
---
## Installation

The databricks provider is available as a package in all Pulumi languages:
The Databricks provider is available as a package in all Pulumi languages:

* JavaScript/TypeScript: [`@pulumi/databricks`](https://www.npmjs.com/package/@pulumi/databricks)
* Python: [`pulumi-databricks`](https://pypi.org/project/pulumi-databricks/)
Expand Down Expand Up @@ -1620,89 +1620,25 @@ This section covers configuration parameters not related to authentication. They
## Environment variables

The following configuration attributes can be passed via environment variables:
<table>
<thead>
<tr>
<th style="text-align:right">Argument</th>
<th>Environment variable</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:right">`authType`</td>
<td>`DATABRICKS_AUTH_TYPE`</td>
</tr>
<tr>
<td style="text-align:right">`host`</td>
<td>`DATABRICKS_HOST`</td>
</tr>
<tr>
<td style="text-align:right">`token`</td>
<td>`DATABRICKS_TOKEN`</td>
</tr>
<tr>
<td style="text-align:right">`accountId`</td>
<td>`DATABRICKS_ACCOUNT_ID`</td>
</tr>
<tr>
<td style="text-align:right">`configFile`</td>
<td>`DATABRICKS_CONFIG_FILE`</td>
</tr>
<tr>
<td style="text-align:right">`profile`</td>
<td>`DATABRICKS_CONFIG_PROFILE`</td>
</tr>
<tr>
<td style="text-align:right">`clientId`</td>
<td>`DATABRICKS_CLIENT_ID`</td>
</tr>
<tr>
<td style="text-align:right">`clientSecret`</td>
<td>`DATABRICKS_CLIENT_SECRET`</td>
</tr>
<tr>
<td style="text-align:right">`azureClientSecret`</td>
<td>`ARM_CLIENT_SECRET`</td>
</tr>
<tr>
<td style="text-align:right">`azureClientId`</td>
<td>`ARM_CLIENT_ID`</td>
</tr>
<tr>
<td style="text-align:right">`azureTenantId`</td>
<td>`ARM_TENANT_ID`</td>
</tr>
<tr>
<td style="text-align:right">`azureWorkspaceResourceId`</td>
<td>`DATABRICKS_AZURE_RESOURCE_ID`</td>
</tr>
<tr>
<td style="text-align:right">`azureUseMsi`</td>
<td>`ARM_USE_MSI`</td>
</tr>
<tr>
<td style="text-align:right">`azureEnvironment`</td>
<td>`ARM_ENVIRONMENT`</td>
</tr>
<tr>
<td style="text-align:right">`googleCredentials`</td>
<td>`GOOGLE_CREDENTIALS`</td>
</tr>
<tr>
<td style="text-align:right">`googleServiceAccount`</td>
<td>`GOOGLE_SERVICE_ACCOUNT`</td>
</tr>
<tr>
<td style="text-align:right">`debugTruncateBytes`</td>
<td>`DATABRICKS_DEBUG_TRUNCATE_BYTES`</td>
</tr>
<tr>
<td style="text-align:right">`debugHeaders`</td>
<td>`DATABRICKS_DEBUG_HEADERS`</td>
</tr>
<tr>
<td style="text-align:right">`rateLimit`</td>
<td>`DATABRICKS_RATE_LIMIT`</td>
</tr>
</tbody>
</table>

| Argument | Environment variable |
|-------------------------------|-----------------------------------|
| `authType` | `DATABRICKS_AUTH_TYPE` |
| `host` | `DATABRICKS_HOST` |
| `token` | `DATABRICKS_TOKEN` |
| `accountId` | `DATABRICKS_ACCOUNT_ID` |
| `configFile` | `DATABRICKS_CONFIG_FILE` |
| `profile` | `DATABRICKS_CONFIG_PROFILE` |
| `clientId` | `DATABRICKS_CLIENT_ID` |
| `clientSecret` | `DATABRICKS_CLIENT_SECRET` |
| `azureClientSecret` | `ARM_CLIENT_SECRET` |
| `azureClientId` | `ARM_CLIENT_ID` |
| `azureTenantId` | `ARM_TENANT_ID` |
| `azureWorkspaceResourceId` | `DATABRICKS_AZURE_RESOURCE_ID` |
| `azureUseMsi` | `ARM_USE_MSI` |
| `azureEnvironment` | `ARM_ENVIRONMENT` |
| `googleCredentials` | `GOOGLE_CREDENTIALS` |
| `googleServiceAccount` | `GOOGLE_SERVICE_ACCOUNT` |
| `debugTruncateBytes` | `DATABRICKS_DEBUG_TRUNCATE_BYTES` |
| `debugHeaders` | `DATABRICKS_DEBUG_HEADERS` |
| `rateLimit` | `DATABRICKS_RATE_LIMIT` |
2 changes: 1 addition & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"bytes"
"context"
"fmt"
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen"
"os"
"path"
"regexp"
Expand All @@ -32,6 +31,7 @@ import (
pfbridge "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge"
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge"
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/tokens"
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen"
shimv2 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2"
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/walk"

Expand Down

0 comments on commit a5a7188

Please sign in to comment.