Feat/stackittpr 189 min max tests (#806)

* feat(serverupdate): added min/max tests

* feat(serverbackup): added min/max tests

* chore(dns): added min/max tests

* fix(dns): correct attribute setting of zone type

* chore(secretsmanager): added min/max tests

* chore(acceptance tests): fixed linter issues

* chore(acceptance tests): cleanup code

* updated documentation

* chore(acceptance test): fixed review findings
This commit is contained in:
Rüdiger Schmitz 2025-05-09 15:07:47 +02:00 committed by GitHub
parent 6a0ccb87ee
commit b2af6ac0e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 1136 additions and 674 deletions

View file

@ -0,0 +1,36 @@
variable "project_id" {}
variable "name" {}
variable "dns_name" {}
variable "record_name" {}
variable "record_record1" {}
variable "record_type" {}
resource "stackit_dns_zone" "zone" {
project_id = var.project_id
name = var.name
dns_name = var.dns_name
}
resource "stackit_dns_record_set" "record_set" {
project_id = var.project_id
zone_id = stackit_dns_zone.zone.zone_id
name = var.record_name
records = [
var.record_record1
]
type = var.record_type
}
data "stackit_dns_zone" "zone" {
project_id = var.project_id
zone_id = stackit_dns_zone.zone.zone_id
}
data "stackit_dns_record_set" "record_set" {
project_id = var.project_id
zone_id = stackit_dns_zone.zone.zone_id
record_set_id = stackit_dns_record_set.record_set.record_set_id
}