Skip to content

DO NOT MERGE

DO NOT MERGE #2992

---
name: core-shared-services-deployment
on:
push:
branches:
- main
paths:
- 'terraform/environments/core-shared-services/**'
- 'terraform/modules/vpc-hub/**'
- 'terraform/modules/core-monitoring/**'
- 'terraform/modules/kms/**'
- '!**.md'
- '.github/workflows/core-shared-services-deployment.yml'
pull_request:
branches:
- main
paths:
- 'terraform/environments/core-shared-services/**'
- 'terraform/modules/vpc-hub/**'
- 'terraform/modules/core-monitoring/**'
- 'terraform/modules/kms/**'
- '!**.md'
- '.github/workflows/core-shared-services-deployment.yml'
workflow_run:
workflows: ["Terraform: New environment"]
types: [completed]
branches: [main]
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:
core-shared-services-deployment-plan-apply:
uses: ./.github/workflows/reusable_terraform_plan_apply.yml

Check failure on line 41 in .github/workflows/core-shared-services-deployment.yml

View workflow run for this annotation

GitHub Actions / core-shared-services-deployment

Invalid workflow file

The workflow is not valid. .github/workflows/core-shared-services-deployment.yml (Line: 41, Col: 11): Secret MODERNISATION_PLATFORM_ACCOUNT_NUMBER is required, but not provided while calling. .github/workflows/core-shared-services-deployment.yml (Line: 41, Col: 11): Secret PASSPHRASE is required, but not provided while calling.
with:
working-directory: "terraform/environments/core-shared-services"
environment: production
secrets:
modernisation_platform_environments: "${{ secrets.MODERNISATION_PLATFORM_ENVIRONMENTS }}"
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}