terraform-provider-stackitp.../stackit/testdata/provider-all-attributes.tf
Marcel S. Henselin 2733834fc9
Some checks failed
CI Workflow / CI (push) Has been cancelled
CI Workflow / Check GoReleaser config (push) Has been cancelled
CI Workflow / Code coverage report (push) Has been cancelled
Alpha (#4)
* chore: initial push to be able to work together

* chore: add missing wait folder

* chore: add missing folders

* chore: cleanup alpha branch

* feat: mssql alpha instance (#2)

* fix: remove unused attribute types and functions from backup models

* fix: update API client references to use sqlserverflexalpha package

* fix: update package references to use sqlserverflexalpha and modify user data source model

* fix: add sqlserverflexalpha user data source to provider

* fix: add sqlserverflexalpha user resource and update related functionality

* chore: add stackit_sqlserverflexalpha_user resource and instance_id variable

* fix: refactor sqlserverflexalpha user resource and enhance schema with status and default_database

---------

Co-authored-by: Andre Harms <andre.harms@stackit.cloud>
Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>

* feat: add sqlserver instance

* chore: fixing tests

* chore: update docs

---------

Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
Co-authored-by: Andre Harms <andre.harms@stackit.cloud>
2025-12-19 11:37:53 +01:00

43 lines
2.3 KiB
HCL

# Copyright (c) STACKIT
variable "project_id" {}
variable "name" {}
provider "stackit" {
default_region = "eu01"
credentials_path = "~/.stackit/credentials.json"
service_account_token = ""
service_account_key_path = ""
service_account_key = ""
private_key_path = ""
private_key = ""
service_account_email = "abc@abc.de"
cdn_custom_endpoint = "https://cdn.api.eu01.stackit.cloud"
dns_custom_endpoint = "https://dns.api.stackit.cloud"
git_custom_endpoint = "https://git.api.stackit.cloud"
iaas_custom_endpoint = "https://iaas.api.stackit.cloud"
mongodbflex_custom_endpoint = "https://mongodbflex.api.stackit.cloud"
modelserving_custom_endpoint = "https://modelserving.api.stackit.cloud"
loadbalancer_custom_endpoint = "https://load-balancer.api.stackit.cloud"
mariadb_custom_endpoint = "https://mariadb.api.stackit.cloud"
authorization_custom_endpoint = "https://authorization.api.stackit.cloud"
objectstorage_custom_endpoint = "https://objectstorage.api.stackit.cloud"
observability_custom_endpoint = "https://observability.api.stackit.cloud"
opensearch_custom_endpoint = "https://opensearch.api.stackit.cloud"
postgresflex_custom_endpoint = "https://postgresflex.api.stackit.cloud"
redis_custom_endpoint = "https://redis.api.stackit.cloud"
server_backup_custom_endpoint = "https://server-backup.api.stackit.cloud"
server_update_custom_endpoint = "https://server-update.api.stackit.cloud"
service_account_custom_endpoint = "https://service-account.api.stackit.cloud"
resourcemanager_custom_endpoint = "https://resourcemanager.api.stackit.cloud"
sqlserverflex_custom_endpoint = "https://sqlserverflex.api.stackit.cloud"
ske_custom_endpoint = "https://ske.api.stackit.cloud"
service_enablement_custom_endpoint = "https://service-enablement.api.stackit.cloud"
token_custom_endpoint = "https://token.api.stackit.cloud"
enable_beta_resources = "true"
}
resource "stackit_network" "network" {
name = var.name
project_id = var.project_id
}