## Description
<!-- **Please link some issue here describing what you are trying to achieve.**
In case there is no issue present for your PR, please consider creating one.
At least please give us some description what you are trying to achieve and why your change is needed. -->
relates to #1234
## Checklist
- [ ] Issue was linked above
- [ ] Code format was applied: `make fmt`
- [ ] Examples were added / adjusted (see `examples/` directory)
- [x] Docs are up-to-date: `make generate-docs` (will be checked by CI)
- [ ] Unit tests got implemented or updated
- [ ] Acceptance tests got implemented or updated (see e.g. [here](f5f99d1709/stackit/internal/services/dns/dns_acc_test.go))
- [x] Unit tests are passing: `make test` (will be checked by CI)
- [x] No linter issues: `make lint` (will be checked by CI)
Reviewed-on: #32
Reviewed-by: Andre_Harms <andre.harms@stackit.cloud>
Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
Co-committed-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"
}
provider "stackitprivatepreview" {
default_region = "eu01"
service_account_key_path = "service_account.json"
}
# Authentication
# 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