diff --git a/.github/workflows/opex_api.yml b/.github/workflows/opex_api.yml index a9b89ddbb..a61694886 100644 --- a/.github/workflows/opex_api.yml +++ b/.github/workflows/opex_api.yml @@ -48,7 +48,7 @@ jobs: environment: prod api-name: ${{ env.API_NAME }} config: .opex/${{ env.API_NAME }}/env/prod/config.yaml - client-id: ${{ secrets.AZURE_CLIENT_ID }} - tenant-id: ${{ vars.AZURE_TENANT_ID }} - subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }} + client-id: ${{ secrets.ARM_CLIENT_ID }} + tenant-id: ${{ vars.ARM_TENANT_ID }} + subscription-id: ${{ vars.ARM_SUBSCRIPTION_ID }} docker-version: ${{ env.DOCKER_IMAGE_TAG }} diff --git a/.github/workflows/opex_api_pnpg.yml b/.github/workflows/opex_api_pnpg.yml index ca00be9e3..acb45e517 100644 --- a/.github/workflows/opex_api_pnpg.yml +++ b/.github/workflows/opex_api_pnpg.yml @@ -48,7 +48,7 @@ jobs: environment: prod api-name: ${{ env.API_NAME }} config: .opex/${{ env.API_NAME }}/env/prod/config.yaml - client-id: ${{ secrets.AZURE_CLIENT_ID }} - tenant-id: ${{ vars.AZURE_TENANT_ID }} - subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }} + client-id: ${{ secrets.ARM_CLIENT_ID }} + tenant-id: ${{ vars.ARM_TENANT_ID }} + subscription-id: ${{ vars.ARM_SUBSCRIPTION_ID }} docker-version: ${{ env.DOCKER_IMAGE_TAG }} diff --git a/infra/repository/README.md b/infra/repository/README.md index beffbee4a..b9c2ba0db 100644 --- a/infra/repository/README.md +++ b/infra/repository/README.md @@ -27,7 +27,7 @@ No providers. | Name | Source | Version | |------|--------|---------| -| [repository](#module\_repository) | github.com/pagopa/selfcare-commons//infra/terraform-modules/github_repository_settings | test-arm-secrets | +| [repository](#module\_repository) | github.com/pagopa/selfcare-commons//infra/terraform-modules/github_repository_settings | main | ## Resources diff --git a/infra/repository/main.tf b/infra/repository/main.tf index 6cb3247e0..a83e5522a 100644 --- a/infra/repository/main.tf +++ b/infra/repository/main.tf @@ -9,7 +9,7 @@ provider "azurerm" { } module "repository" { - source = "github.com/pagopa/selfcare-commons//infra/terraform-modules/github_repository_settings?ref=test-arm-secrets" + source = "github.com/pagopa/selfcare-commons//infra/terraform-modules/github_repository_settings?ref=main" github = { repository = "selfcare-dashboard-backend"