Skip to content

Reusable Pipeline for Core Workflows #1055

Reusable Pipeline for Core Workflows

Reusable Pipeline for Core Workflows #1055

---
name: core-logging-deployment
on:
push:
branches:
- main
paths:
- 'terraform/environments/core-logging/**'
- 'terraform/modules/vpc-hub/**'
- 'terraform/modules/core-monitoring/**'
- '.github/workflows/core-logging-deployment.yml'
pull_request:
branches:
- main
paths:
- 'terraform/environments/core-logging/**'
- 'terraform/modules/vpc-hub/**'
- 'terraform/modules/core-monitoring/**'
- '.github/workflows/core-logging-deployment.yml'
workflow_dispatch:
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
defaults:
run:
shell: bash
jobs:
core-logging-deployment-plan:
uses: ./.github/workflows/reusable_terraform_plan_apply_core.yml
with:
account_name: core-logging
environment: production
secrets:
modernisation_platform_environments: "${{ secrets.MODERNISATION_PLATFORM_ENVIRONMENTS }}"
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}