Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CES-468] Added new storage account ioplockedprofilesst for ITN migration #1285

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we delete this empty file?

Empty file.
22 changes: 22 additions & 0 deletions src/domains/citizen-auth-app/09_storage_locked_profiles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,25 @@ resource "azurerm_storage_table" "locked_profiles" {
name = "lockedprofiles"
storage_account_name = module.locked_profiles_storage.name
}


module "locked_profiles_storage_itn" {
source = "github.com/pagopa/dx//infra/modules/azure_storage_account?ref=main"

environment = local.itn_environment
resource_group_name = data.azurerm_resource_group.rg_internal.name
tier = "l"

subnet_pep_id = module.common_values.pep_subnets.itn.id
private_dns_zone_resource_group_name = module.common_values.resource_groups.weu.common
subservices_enabled = {
blob = false
file = false
queue = false
table = true
}

force_public_network_access_enabled = false

tags = var.tags
}
15 changes: 13 additions & 2 deletions src/domains/citizen-auth-app/99_locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ locals {
common_project_itn = "${local.product}-${local.itn_location_short}"

# auth n identity domain
short_domain = "auth"
short_project_itn = "${local.product}-${local.itn_location_short}-${local.short_domain}"
short_domain = "auth"

domain = "citauthapp"
app_name = "lockedprofiles"

itn_environment = {
prefix = var.prefix
env_short = var.env_short
location = local.itn_location
app_name = local.app_name
# domain = local.domain
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# domain = local.domain
domain = "auth"

instance_number = "01"
}
}
Loading