Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit Provider"
subcategory: ""
description: |-

---

# stackit Provider
# STACKIT Provider

The STACKIT provider is the official Terraform provider to integrate all the resources developed by STACKIT.

# Authentication

Currently, only the *token flow* is supported. The Terraform provider will first try to find a token in the `STACKIT_SERVICE_ACCOUNT_TOKEN` env var. If not present, it will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, or in `$HOME/.stackit/credentials.json` as a fallback. If the token is found, all the requests are authenticated using that token.


## Example Usage

```terraform
Expand All @@ -23,6 +10,10 @@ provider "stackit" {
}
```

## Authentication

Currently, only the *token flow* is supported. The Terraform provider will first try to find a token in the `STACKIT_SERVICE_ACCOUNT_TOKEN` env var. If not present, it will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, or in `$HOME/.stackit/credentials.json` as a fallback. If the token is found, all the requests are authenticated using that token.

<!-- schema generated by tfplugindocs -->
## Schema

Expand Down
13 changes: 13 additions & 0 deletions templates/index.md.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# {{ .ProviderShortName | upper }} Provider

The STACKIT provider is the official Terraform provider to integrate all the resources developed by STACKIT.

## Example Usage

{{ tffile "examples/provider/provider.tf" }}

## Authentication

Currently, only the *token flow* is supported. The Terraform provider will first try to find a token in the `STACKIT_SERVICE_ACCOUNT_TOKEN` env var. If not present, it will check the credentials file located in the path defined by the `STACKIT_CREDENTIALS_PATH` env var, if specified, or in `$HOME/.stackit/credentials.json` as a fallback. If the token is found, all the requests are authenticated using that token.

{{ .SchemaMarkdown | trimspace }}