chore(docs): use new 'default_region' provider attribute (#793)

instead of deprecated 'region' attribute
This commit is contained in:
Ruben Hönle 2025-04-30 11:51:59 +02:00 committed by GitHub
parent 220d33574b
commit 4d93772fd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 39 additions and 39 deletions

View file

@ -6,27 +6,27 @@ The STACKIT Terraform provider is the official Terraform provider to integrate a
```terraform
provider "stackit" {
region = "eu01"
default_region = "eu01"
}
# Authentication
# Token flow
provider "stackit" {
region = "eu01"
default_region = "eu01"
service_account_token = var.service_account_token
}
# Key flow
provider "stackit" {
region = "eu01"
default_region = "eu01"
service_account_key = var.service_account_key
private_key = var.private_key
}
# Key flow (using path)
provider "stackit" {
region = "eu01"
default_region = "eu01"
service_account_key_path = var.service_account_key_path
private_key_path = var.private_key_path
}