-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
STACKIT DNS Record set sets name as required, although its optional in portal.
Steps to reproduce
resource "stackit_dns_record_set" "this" {
project_id = var.project_id
zone_id = stackit_dns_zone.this.zone_id
name = "test" #here
type = "A"
ttl = 60 #seconds
records = [data.kubernetes_service.traefik_lb.status[0].load_balancer[0].ingress[0].ip]
}- Run
terraform ... - Get an error when deliting the name or give an empty string
Actual behavior
│ Error: Missing required argument
│
│ on resources.test.tf line 128, in resource "stackit_dns_record_set" "this":
│ 128: resource "stackit_dns_record_set" "this" {
│
│ The argument "name" is required, but no definition was found.
Expected behavior
Create a stackit_dns_record_set without a name.
Environment
OpenTofu v1.9.0
on linux_amd64
- provider registry.opentofu.org/hashicorp/helm v3.1.1
- provider registry.opentofu.org/hashicorp/kubernetes v2.38.0
- provider registry.opentofu.org/stackitcloud/stackit v0.71.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working