terraform-provider-stackitp.../examples/provider/provider.tf
Ruben Hönle 4d93772fd2
chore(docs): use new 'default_region' provider attribute (#793)
instead of deprecated 'region' attribute
2025-04-30 09:51:59 +00:00

26 lines
536 B
HCL

provider "stackit" {
default_region = "eu01"
}
# Authentication
# Token flow
provider "stackit" {
default_region = "eu01"
service_account_token = var.service_account_token
}
# Key flow
provider "stackit" {
default_region = "eu01"
service_account_key = var.service_account_key
private_key = var.private_key
}
# Key flow (using path)
provider "stackit" {
default_region = "eu01"
service_account_key_path = var.service_account_key_path
private_key_path = var.private_key_path
}