Skip to content

Commit

Permalink
fix: registry migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvatore Laiso committed Jan 30, 2025
1 parent 3c7d3c2 commit f53b086
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 13 deletions.
3 changes: 2 additions & 1 deletion infra/github-runner/prod/westeurope/container_app_job.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "container_app_job_selfhosted_runner" {
source = "github.com/pagopa/dx//infra/modules/github_selfhosted_runner_on_container_app_jobs?ref=main"
source = "pagopa/dx-github-selfhosted-runner-on-container-app-jobs/azurerm"
version = "~> 1"

repository = { name : "io-auth-n-identity-domain" }

Expand Down
5 changes: 3 additions & 2 deletions infra/identity/prod/apps.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module "federated_identities_apps" {
source = "github.com/pagopa/dx//infra/modules/azure_federated_identity_with_github?ref=main"

source = "pagopa/dx-azure-federated-identity-with-github/azurerm"
version = "~> 0"

continuos_integration = { enable = false }

prefix = local.prefix
Expand Down
3 changes: 2 additions & 1 deletion infra/identity/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ provider "azurerm" {
}

module "federated_identities" {
source = "github.com/pagopa/dx//infra/modules/azure_federated_identity_with_github?ref=main"
source = "pagopa/dx-azure-federated-identity-with-github/azurerm"
version = "~> 0"

prefix = local.prefix
env_short = local.env_short
Expand Down
3 changes: 2 additions & 1 deletion infra/identity/prod/opex.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "opex_federated_identities" {
source = "github.com/pagopa/dx//infra/modules/azure_federated_identity_with_github?ref=main"
source = "pagopa/dx-azure-federated-identity-with-github/azurerm"
version = "~> 0"

prefix = local.prefix
env_short = local.env_short
Expand Down
3 changes: 2 additions & 1 deletion infra/modules/eventhub/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "eventhub" {
source = "github.com/pagopa/dx//infra/modules/azure_event_hub?ref=main"
source = "pagopa/dx-azure-event-hub/azurerm"
version = "~> 0"

environment = {
prefix = var.prefix
Expand Down
6 changes: 4 additions & 2 deletions infra/modules/io_public_api/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "apim_v2_product_public" {
source = "github.com/pagopa/terraform-azurerm-v3//api_management_product?ref=v8.27.0"
source = "pagopa/dx-azure-api-management/azurerm"
version = "~> 0"

product_id = "io-public-api"
api_management_name = var.apim_name
Expand Down Expand Up @@ -32,7 +33,8 @@ resource "azurerm_api_management_named_value" "io_fn3_public_key_v2" {
}

module "api_v2_public" {
source = "github.com/pagopa/terraform-azurerm-v3//api_management_api?ref=v8.27.0"
source = "pagopa/dx-azure-api-management/azurerm"
version = "~> 0"

name = "io-public-api"
api_management_name = var.apim_name
Expand Down
3 changes: 2 additions & 1 deletion infra/resources/prod/function_ioweb_profile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ resource "azurerm_resource_group" "function_web_profile_rg" {
}

module "function_web_profile" {
source = "github.com/pagopa/dx//infra/modules/azure_function_app?ref=ab26f57ed34a614fd3fa496c7b521be9ecc88e1b"
source = "pagopa/dx-azure-function-app/azurerm"
version = "~> 0"

environment = {
prefix = local.prefix
Expand Down
3 changes: 2 additions & 1 deletion infra/resources/prod/function_lollipop.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ resource "azurerm_resource_group" "function_lollipop_rg" {
}

module "function_lollipop" {
source = "github.com/pagopa/dx//infra/modules/azure_function_app?ref=757fd7b08b87dc0327d1141ef378c1beaa324bf7"
source = "pagopa/dx-azure-function-app/azurerm"
version = "~> 0"

environment = {
prefix = local.prefix
Expand Down
6 changes: 4 additions & 2 deletions infra/resources/prod/function_lv.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ resource "azurerm_resource_group" "function_lv_rg" {
}

module "function_lv" {
source = "github.com/pagopa/dx//infra/modules/azure_function_app?ref=ab26f57ed34a614fd3fa496c7b521be9ecc88e1b"
source = "pagopa/dx-azure-function-app/azurerm"
version = "~> 0"

environment = {
prefix = local.prefix
Expand Down Expand Up @@ -121,7 +122,8 @@ module "function_lv" {

module "function_lv_autoscale" {
depends_on = [azurerm_resource_group.function_lv_rg]
source = "github.com/pagopa/dx//infra/modules/azure_app_service_plan_autoscaler?ref=ab26f57ed34a614fd3fa496c7b521be9ecc88e1b"
source = "pagopa/dx-azure-app-service-plan-autoscaler/azurerm"
version = "~> 0"

resource_group_name = azurerm_resource_group.function_lv_rg.name
target_service = {
Expand Down
3 changes: 2 additions & 1 deletion infra/resources/prod/function_public.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ resource "azurerm_resource_group" "function_public_rg" {
}

module "function_public" {
source = "github.com/pagopa/dx//infra/modules/azure_function_app?ref=7c0cb16bc0088bca07b1cdc1e6841f1c6aeaca6a"
source = "pagopa/dx-azure-function-app/azurerm"
version = "~> 0"

environment = {
prefix = local.prefix
Expand Down

0 comments on commit f53b086

Please sign in to comment.