* fix: remove license header from files * fix: updated docs and sample --------- Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
4.9 KiB
4.9 KiB
| page_title | description |
|---|---|
| stackitprivatepreview Provider |
stackitprivatepreview Provider
Example Usage
provider "stackitprivatepreview" {
default_region = "eu01"
}
# Authentication
# Token flow (scheduled for deprecation and will be removed on December 17, 2025)
provider "stackitprivatepreview" {
default_region = "eu01"
service_account_token = var.service_account_token
}
# Key flow
provider "stackitprivatepreview" {
default_region = "eu01"
service_account_key = var.service_account_key
private_key = var.private_key
}
# Key flow (using path)
provider "stackitprivatepreview" {
default_region = "eu01"
service_account_key_path = var.service_account_key_path
private_key_path = var.private_key_path
}
Schema
Optional
authorization_custom_endpoint(String) Custom endpoint for the Membership servicecdn_custom_endpoint(String) Custom endpoint for the CDN servicecredentials_path(String) Path of JSON from where the credentials are read. Takes precedence over the env varSTACKIT_CREDENTIALS_PATH. Default value is~/.stackit/credentials.json.default_region(String) Region will be used as the default location for regional services. Not all services require a region, some are globaldns_custom_endpoint(String) Custom endpoint for the DNS serviceenable_beta_resources(Boolean) Enable beta resources. Default is false.experiments(List of String) Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, networkgit_custom_endpoint(String) Custom endpoint for the Git serviceiaas_custom_endpoint(String) Custom endpoint for the IaaS servicekms_custom_endpoint(String) Custom endpoint for the KMS serviceloadbalancer_custom_endpoint(String) Custom endpoint for the Load Balancer servicelogme_custom_endpoint(String) Custom endpoint for the LogMe servicemariadb_custom_endpoint(String) Custom endpoint for the MariaDB servicemodelserving_custom_endpoint(String) Custom endpoint for the AI Model Serving servicemongodbflex_custom_endpoint(String) Custom endpoint for the MongoDB Flex serviceobjectstorage_custom_endpoint(String) Custom endpoint for the Object Storage serviceobservability_custom_endpoint(String) Custom endpoint for the Observability serviceopensearch_custom_endpoint(String) Custom endpoint for the OpenSearch servicepostgresflex_custom_endpoint(String) Custom endpoint for the PostgresFlex serviceprivate_key(String) Private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key.private_key_path(String) Path for the private RSA key used for authentication, relevant for the key flow. It takes precedence over the private key that is included in the service account key.rabbitmq_custom_endpoint(String) Custom endpoint for the RabbitMQ serviceredis_custom_endpoint(String) Custom endpoint for the Redis serviceregion(String, Deprecated) Region will be used as the default location for regional services. Not all services require a region, some are globalresourcemanager_custom_endpoint(String) Custom endpoint for the Resource Manager servicescf_custom_endpoint(String) Custom endpoint for the Cloud Foundry (SCF) servicesecretsmanager_custom_endpoint(String) Custom endpoint for the Secrets Manager serviceserver_backup_custom_endpoint(String) Custom endpoint for the Server Backup serviceserver_update_custom_endpoint(String) Custom endpoint for the Server Update serviceservice_account_custom_endpoint(String) Custom endpoint for the Service Account serviceservice_account_email(String, Deprecated) Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource.service_account_key(String) Service account key used for authentication. If set, the key flow will be used to authenticate all operations.service_account_key_path(String) Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations.service_account_token(String, Deprecated) Token used for authentication. If set, the token flow will be used to authenticate all operations.service_enablement_custom_endpoint(String) Custom endpoint for the Service Enablement APIske_custom_endpoint(String) Custom endpoint for the Kubernetes Engine (SKE) servicesqlserverflex_custom_endpoint(String) Custom endpoint for the SQL Server Flex servicetoken_custom_endpoint(String) Custom endpoint for the token API, which is used to request access tokens when using the key flow