actual behavior
When attempting to create a namespace (for instance: )
resource "mimirtool_ruler_namespace" "my_namespace" {
namespace = "my_namespace"
config_yaml = file("my_namespace.yaml")
strict_recording_rule_check = true
}
where my_namespace.yaml contains the following:
---
namespace: my_namespace
groups: []
Terraform succeeds to plan but fails to apply and returns no namespace definition found.
Expected Behavior
Terraform should fail to plan or proceed to create an empty namespace on apply.
actual behavior
When attempting to create a namespace (for instance: )
where
my_namespace.yamlcontains the following:Terraform succeeds to plan but fails to apply and returns
no namespace definition found.Expected Behavior
Terraform should fail to plan or proceed to create an empty namespace on apply.