From a5a7188297ee9009493d8351e2b2a8619836ab91 Mon Sep 17 00:00:00 2001 From: guineveresaenger Date: Mon, 11 Nov 2024 10:43:41 -0800 Subject: [PATCH] Generate table correctly --- docs/_index.md | 110 +++++++++--------------------------------- provider/resources.go | 2 +- 2 files changed, 24 insertions(+), 88 deletions(-) diff --git a/docs/_index.md b/docs/_index.md index 3ae92eea..f37d026f 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -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/) @@ -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: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ArgumentEnvironment 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`
\ No newline at end of file + +| 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` | \ No newline at end of file diff --git a/provider/resources.go b/provider/resources.go index bc72cd27..0e64b71c 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -18,7 +18,6 @@ import ( "bytes" "context" "fmt" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen" "os" "path" "regexp" @@ -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"