{
"request": "Triage Jira ticket MZCLD-3665: Add a reusable Terraform pattern for PagerDuty-backed Grafana contact points",
"references": [
"https://mozilla-hub.atlassian.net/browse/MZCLD-3665"
],
"sourceContext": {
"issue": "MZCLD-3665"
}
}MZCLD-3665 is a Backlog engineering-improvement ticket asking for a reusable Terraform module/pattern in global-platform-admin that wires PagerDuty service integrations to their Grafana (Yardstick) contact points, so integration keys never leave Terraform and rotation happens in a single apply. It has no comments yet. It was surfaced while closing OPST-2460 (PagerDuty API key rotation), but that referenced ticket is outside this run's accessible scope, so its details could not be pulled for additional context. There is no linked Confluence runbook/design doc in the ticket text to review.
Triage note: Ticket is clearly scoped and actionable — recommend moving out of Backlog into the next sprint/refinement given it's flagged as a prerequisite for the bulk PagerDuty→Grafana contact-point migration. Suggested approach: generalize the existing wiring in pagerduty/tf/global/autograph.tf (pagerduty_service_integration -> grafana_contact_point) into a Terraform module under global-platform-admin, parameterized by service name/team/routing details, with the integration_key passed as a module output consumed directly by the contact point resource (never surfaced outside Terraform state). Please confirm: (1) desired module location/naming convention within global-platform-admin, (2) whether autograph.tf's three existing services should be migrated onto the new module as part of this ticket or left for the follow-up bulk migration, and (3) link/assign an owner plus target sprint. Note: could not pull OPST-2460 for additional rotation-project context in this triage pass — recommend cross-checking that ticket for any timeline constraints.
[
{
"capability": "jira.issue.read",
"args": {
"key": "MZCLD-3665"
},
"result": {
"key": "MZCLD-3665",
"summary": "Add a reusable Terraform pattern for PagerDuty-backed Grafana contact points",
"status": "Backlog",
"description_text": "Context: Surfaced while closing OPST-2460 (PagerDuty API key rotation). Problem. PagerDuty integration keys are created in Terraform ( global-platform-admin/pagerduty ) and exposed as sensitive outputs, but almost nothing consumes them. pagerduty/tf/global/autograph.tf is the single place that wires pagerduty_service_integration.grafana[\u2026].integration_key directly into a grafana_contact_point , which makes rotation for those three services a single terraform apply . It exists as a one-off with no reusable shape, so every other service still moves its key by hand. Ask. Extract that wiring into a reusable module/pattern so any PagerDuty service managed in Terraform can own its Yardstick contact point, with the integration key never leaving Terraform. Acceptance criteria. A documented module/pattern exists in global-platform-admin . Applying it for one service produces both the PagerDuty integration and the matching Grafana contact point. Rotating the integration updates the contact point within the same apply. No integration key is copied by hand at any point. Prerequisite for the bulk migration of the remaining contact points.",
"comment_count": 0,
"comments": []
}
},
{
"capability": "jira.issue.read",
"args": {
"key": "OPST-2460"
},
"result": {
"error": "read blocked by policy: resource not in run subject",
"args": {
"key": "OPST-2460"
}
},
"blocked": true
}
]{
"model": "claude-sonnet-5",
"input_tokens": 5616,
"output_tokens": 1710,
"estimated_cost_usd": 0.042498
}[]