# Overview

Make monitoring and alerting part of your **Infrastructure as Code** projects and automate your requirements efficiently with ilert's Terraform provider.

{% hint style="success" %}
You can find the official ilert Terraform Provider documentation in the [Terraform Registry](https://registry.terraform.io/providers/iLert/ilert/latest/docs)
{% endhint %}

The source code of the provider is also available on [Github](https://github.com/iLert/terraform-provider-ilert).

```
provider "ilert" {
    organization = "your organization"
    username     = "your username"
    password     = "password"
}

data "ilert_escalation_policy" "default" {
  name = "Default"
}

resource "ilert_alert_source" "example" {
  name                    = "My Grafana Integration"
  integration_type        = "GRAFANA"
  escalation_policy       = data.ilert_escalation_policy.default.id
  incident_priority_rule  = "HIGH_DURING_SUPPORT_HOURS"

  support_hours {
    timezone = "Europe/Berlin"

    support_days {
      monday {
        start = "08:00"
        end   = "17:00"
      }

      tuesday {
        start = "08:00"
        end   = "17:00"
      }

      wednesday {
        start = "08:00"
        end   = "17:00"
      }

      thursday {
        start = "08:00"
        end   = "17:00"
      }

      friday {
        start = "08:00"
        end   = "17:00"
      }
    }
  }
}
```

Please feel free to [reach out to us](https://github.com/iLert/docs/blob/master/developer-docs/contact.md) with a Github issue in case you need help or have feature requests.
