Skip to content

DO NOT MERGE

DO NOT MERGE #936

name: "Terraform: PagerDuty resources"
on:
push:
paths:
- 'terraform/pagerduty/**'
- '!**.md'
- '.github/workflows/terraform-pagerduty.yml'
branches:
- main
pull_request:
paths:
- 'terraform/pagerduty/**'
- '!**.md'
- '.github/workflows/terraform-pagerduty.yml'
branches:
- main
types: [opened, edited, reopened, synchronize]
workflow_dispatch:
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
pull-requests: write
defaults:
run:
shell: bash
jobs:
pagerduty-plan-and-apply:
uses: ./.github/workflows/reusable_terraform_plan_apply.yml

Check failure on line 31 in .github/workflows/terraform-pagerduty.yml

View workflow run for this annotation

GitHub Actions / Terraform: PagerDuty resources

Invalid workflow file

The workflow is not valid. .github/workflows/terraform-pagerduty.yml (Line: 31, Col: 11): Secret MODERNISATION_PLATFORM_ACCOUNT_NUMBER is required, but not provided while calling. .github/workflows/terraform-pagerduty.yml (Line: 31, Col: 11): Secret PASSPHRASE is required, but not provided while calling.
with:
working-directory: "terraform/pagerduty"
workflow_id: "pagerduty"
secrets:
modernisation_platform_environments: ${{ secrets.MODERNISATION_PLATFORM_ENVIRONMENTS }}
pagerduty_token: ${{ secrets.PAGERDUTY_TOKEN }}
pagerduty_userapi_token: ${{ secrets.PAGERDUTY_USERAPI_TOKEN}}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}