* Add template * Generate docs --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2.1 KiB
2.1 KiB
STACKIT Provider
The STACKIT provider is the official Terraform provider to integrate all the resources developed by STACKIT.
Example Usage
provider "stackit" {
region = "eu01"
}
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
Optional
argus_custom_endpoint(String) Custom endpoint for the Argus 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.dns_custom_endpoint(String) Custom endpoint for the DNS servicelogme_custom_endpoint(String) Custom endpoint for the LogMe servicemariadb_custom_endpoint(String) Custom endpoint for the MariaDB serviceopensearch_custom_endpoint(String) Custom endpoint for the OpenSearch servicepostgresflex_custom_endpoint(String) Custom endpoint for the PostgresFlex servicepostgresql_custom_endpoint(String) Custom endpoint for the PostgreSQL servicerabbitmq_custom_endpoint(String) Custom endpoint for the RabbitMQ serviceredis_custom_endpoint(String)region(String) 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 serviceservice_account_email(String) Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAILservice_account_token(String) Token used for authentication. If set, the token flow will be used to authenticate all operations.ske_custom_endpoint(String) Custom endpoint for the Kubernetes Engine (SKE) service