Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform fails to create a namespace if its configuration is empty (no groups) #20

Open
e-gautier opened this issue Jun 29, 2023 · 0 comments

Comments

@e-gautier
Copy link

terraform -v
v1.5.0

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.

domtes-form3 pushed a commit to domtes-form3/terraform-provider-mimirtool that referenced this issue Feb 29, 2024
…-max/ghaction-import-gpg-6

Bump crazy-max/ghaction-import-gpg from 5 to 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant