[EC-357] Replace ACR module definition with resource (#1109) #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR - Core TF Apply | |
# This pipeline starts automatically when a PR is merged into 'main'. | |
# | |
# It is responsible for managing changes related solely to the NEW infrastructure, | |
# ensuring that changes have occurred exclusively within the directories listed in "paths." | |
# | |
## NOTE: 'NEW infrastructure' refers to the new Terraform infrastructure located in the src/core/prod folder, which no longer requires the terraform.sh script to be applied. | |
# | |
# This pipeline first executes a plan and then an apply, which must be approved by the team. | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "src/core/prod/**" | |
- "src/core/_modules/**" | |
- ".github/workflows/core_deploy.yaml" | |
jobs: | |
prod_itn_core_deploy: | |
uses: pagopa/dx/.github/workflows/infra_apply.yaml@main | |
name: Prod - Code Deploy | |
secrets: inherit | |
with: | |
environment: prod | |
base_path: src/core |