Skip to content

Update VPC modules to optionally send flow logs to S3 #1179

Update VPC modules to optionally send flow logs to S3

Update VPC modules to optionally send flow logs to S3 #1179

---
name: core-logging-deployment
on:
push:
branches:
- main
paths:
- 'terraform/environments/core-logging/**'
- 'terraform/modules/vpc-hub/**'
- 'terraform/modules/core-monitoring/**'
- '!**.md'
- '.github/workflows/core-logging-deployment.yml'
- '.github/workflows/reusable_terraform_plan_apply.yml'
pull_request:
branches:
- main
paths:
- 'terraform/environments/core-logging/**'
- 'terraform/modules/vpc-hub/**'
- 'terraform/modules/core-monitoring/**'
- '!**.md'
- '.github/workflows/core-logging-deployment.yml'
- '.github/workflows/reusable_terraform_plan_apply.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-apply:
uses: ./.github/workflows/reusable_terraform_plan_apply.yml
with:
working-directory: "terraform/environments/core-logging"
environment: production
secrets:
modernisation_platform_environments: "${{ secrets.MODERNISATION_PLATFORM_ENVIRONMENTS }}"
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}