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

Grafana provider does not allow to add settings to the alert notification #24537

Closed
edevost opened this issue Apr 2, 2020 · 3 comments
Closed

Comments

@edevost
Copy link

edevost commented Apr 2, 2020

Terraform Version

Terraform v0.12.24
+ provider.aws v2.55.0
+ provider.grafana v1.5.0

Terraform Configuration Files

resource "grafana_alert_notification" "slack" {
  name = "Slack team"
  type = "slack"

  settings {
    slack = "xxx"
  }
}

Debug Output

Crash Output

Error: Unsupported block type

on main.tf line 39, in resource "grafana_alert_notification" "slack":
39: settings {

Blocks of type "settings" are not expected here. Did you mean to define
argument "settings"? If so, use the equals sign to assign it a value.

Expected Behavior

The alerting notification channel should be added.

Actual Behavior

Unexpected block "settings"

Steps to Reproduce

Additional Context

The config is taken straight from the Terraform documentation.

References

@edevost edevost changed the title Grafana provider does not allow to add settings Grafana provider does not allow to add settings to the alert notification Apr 2, 2020
@remilapeyre
Copy link
Contributor

Hi @edevost, it looks like you are having an issue specific to the Grafana provider. In that case, you will want to open the issue directly at https://github.com/terraform-providers/terraform-provider-grafana, this repository is for issues with Terraform itself.

@ghost
Copy link

ghost commented Apr 3, 2020

This issue has been automatically migrated to terraform-providers/terraform-provider-grafana#89 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#89.

@ghost
Copy link

ghost commented May 3, 2020

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 ghost locked and limited conversation to collaborators May 3, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants