diff --git a/docs/_index.md b/docs/_index.md index 384359eb..3ed0e4ef 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -453,6 +453,8 @@ config: {{% /choosable %}} {{< /chooser >}} +> **Note:** When using environment variables, an empty `appAuth` block is required to allow provider configurations from environment variables to be specified. See: + {{< chooser language "typescript,python,go,csharp,java,yaml" >}} {{% choosable language typescript %}} ```yaml @@ -529,7 +531,7 @@ config: {{< /chooser >}} ## Configuration Reference -The following configuration inputs are supported in the provider configuration: +The following configuration inputs are supported in the `provider` block: * `token` - (Optional) A GitHub OAuth / Personal Access Token. When not provided or made available via the `GITHUB_TOKEN` environment variable, the provider can only access resources available anonymously. diff --git a/provider/resources.go b/provider/resources.go index 4944578f..bab13dc7 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -292,7 +292,6 @@ func editRules(defaults []tfbridge.DocsEdit) []tfbridge.DocsEdit { { Path: "index.html.markdown", Edit: func(_ string, content []byte) ([]byte, error) { - input, err := os.ReadFile("provider/installation-replaces/required-providers-input.md") if err != nil { return nil, err @@ -302,7 +301,6 @@ func editRules(defaults []tfbridge.DocsEdit) []tfbridge.DocsEdit { input, nil) return content, nil - }, }, }