chore(docs): use new 'default_region' provider attribute (#793)
instead of deprecated 'region' attribute
This commit is contained in:
parent
220d33574b
commit
4d93772fd2
14 changed files with 39 additions and 39 deletions
|
|
@ -15,7 +15,7 @@ This guide outlines the process of utilizing the [AWS Terraform Provider](https:
|
|||
|
||||
```hcl
|
||||
provider "stackit" {
|
||||
region = "eu01"
|
||||
default_region = "eu01"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ This guide outlines the process of utilizing the [HashiCorp Kubernetes provider]
|
|||
|
||||
```hcl
|
||||
provider "stackit" {
|
||||
region = "eu01"
|
||||
default_region = "eu01"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Set the `enable_beta_resources` option in the provider configuration. This is a
|
|||
|
||||
```hcl
|
||||
provider "stackit" {
|
||||
region = "eu01"
|
||||
default_region = "eu01"
|
||||
enable_beta_resources = true
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ This guide explains how to configure the STACKIT Observability product to send a
|
|||
|
||||
```hcl
|
||||
provider "stackit" {
|
||||
region = "eu01"
|
||||
default_region = "eu01"
|
||||
}
|
||||
|
||||
provider "kubernetes" {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ This guide outlines the process of utilizing the [HashiCorp Vault provider](http
|
|||
|
||||
```hcl
|
||||
provider "stackit" {
|
||||
region = "eu01"
|
||||
default_region = "eu01"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue