You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Terraform v0.12.7, and I am not sure, which version is this docs updated for. I would request you to kindly update the Grafana_Alert docs [https://www.terraform.io/docs/providers/grafana/r/alert_notification.html] with the below provided. I have tested it out and its working seamlessly.
resource "grafana_alert_notification" "email_notification" {
name = "email_notification"
type = "email"
is_default = false
This issue has been automatically migrated to terraform-providers/terraform-provider-grafana#70 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to terraform-providers/terraform-provider-grafana#70.
Can you tell me how it could be the issue with the Provider(Grafana). As per your your Grafana Documentation, the "Example Usage" you have provided is completely wrong.
Terraform Example:(Terraform v0.12.7)
Correct Example(Please update in docs of Terraform Grafana Alert):
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Oct 24, 2019
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
Debug Output
$ terraform plan
Error: Argument names must not be quoted...
Crash Output
Expected Behavior
Actual Behavior
Steps to Reproduce
provider "grafana" {
url = "http://:3000"
auth = "admin:admin"
}
resource "grafana_alert_notification" "email_someteam" {
name = "Email that team"
type = "email"
is_default = false
settings {
"addresses" = "foo@example.net;bar@example.net"
"uploadImage" = "false"
}
}
$ terraform init
$ terraform apply
Additional Context
I am using Terraform v0.12.7, and I am not sure, which version is this docs updated for. I would request you to kindly update the Grafana_Alert docs [https://www.terraform.io/docs/providers/grafana/r/alert_notification.html] with the below provided. I have tested it out and its working seamlessly.
resource "grafana_alert_notification" "email_notification" {
name = "email_notification"
type = "email"
is_default = false
settings = {
addresses = "xyz@mail.com;abc@mail.com"
uploadImage = "false"
}
}
References
Idea from GitHub #22095
It gave me idea to figure it out regarding the quotes, part which really helped me to rectify this.
The text was updated successfully, but these errors were encountered: