-
Notifications
You must be signed in to change notification settings - Fork 269
Open
Description
Terraform Version
1.12.1
Terraform Grafana Provider Version
3.25.6
Grafana Version
12.0.1
Affected Resource(s)
Unable to destroy/delete grafana_organization via terraform/API respectively.
Terraform Configuration Files
terraform {
required_providers {
grafana = {
source = "grafana/grafana"
version = "3.25.6"
}
}
}
provider "grafana" {
url = "<grafana_url>"
auth = var.auth_key
}
resource "grafana_organization" "my_org" {
name = "my_org"
}
Expected Behavior
Should destroy/delete the org through terraform/API respectively.
Actual Behavior
In the below image, both the orgs are present and I am trying to delete 'my_org'

Tried destroying grafana_organization
created via terraform results in the following error :

Then tried deleting the same organization via API results in the following error:

Note: I am using admin creds to run these commands
Steps to Reproduce
- Execute
terraform apply
to create the resources - Then
terraform destroy
should show the same error. - Try the same via API should also result in 500 status code.
Note: I am using admin creds to run these commands
Important Factoids
No response
References
No response
Metadata
Metadata
Assignees
Labels
No labels