Skip to content

Unable to create grafana_contact_point with jira block #2419

@ajithselvan-tsi

Description

@ajithselvan-tsi

Terraform Version

1.11.4

Terraform Grafana Provider Version

v3.25.9

Grafana Version

grafana cloud

Affected Resource(s)

grafana_contact_point

Terraform Configuration Files

resource "grafana_contact_point" "contact_point" {
  provider = grafana.cloud
  for_each = var.contact_points
  name     = each.value.name
  jira {
    api_url                 = 
    project                 = 
    issue_type              =
    labels                  = 
    resolve_transition      = 
    fields                  =
    user                    = 
    password                = 
    description             = 
    message                 = 
  }
}

Expected Behavior

This should create a grafana contact point with Jira integration enabled.

Actual Behavior

│ Error: Unsupported block type

│ on grafana_contact_point.tf line 5, in resource "grafana_contact_point" "contact_point":
│ 5: jira {

│ Blocks of type "jira" are not expected here.

Steps to Reproduce

terraform init and plan with below block

resource "grafana_contact_point" "contact_point" {
  provider = grafana.cloud
  for_each = var.contact_points
  name     = each.value.name
  jira {
  }
}

Important Factoids

We are using Grafana Cloud. We couldn't find any references for this issue if it was already existed. So raising this issue.

References

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions