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>
This commit is contained in:
parent
45073a716b
commit
2733834fc9
351 changed files with 62744 additions and 3 deletions
43
stackit/testdata/provider-all-attributes.tf
vendored
Normal file
43
stackit/testdata/provider-all-attributes.tf
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# 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
|
||||
}
|
||||
12
stackit/testdata/provider-credentials.tf
vendored
Normal file
12
stackit/testdata/provider-credentials.tf
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) STACKIT
|
||||
|
||||
variable "project_id" {}
|
||||
variable "name" {}
|
||||
|
||||
provider "stackit" {
|
||||
}
|
||||
|
||||
resource "stackit_network" "network" {
|
||||
name = var.name
|
||||
project_id = var.project_id
|
||||
}
|
||||
13
stackit/testdata/provider-invalid-attribute.tf
vendored
Normal file
13
stackit/testdata/provider-invalid-attribute.tf
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) STACKIT
|
||||
|
||||
variable "project_id" {}
|
||||
variable "name" {}
|
||||
|
||||
provider "stackit" {
|
||||
test = "test"
|
||||
}
|
||||
|
||||
resource "stackit_network" "network" {
|
||||
name = var.name
|
||||
project_id = var.project_id
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue