Skip to content

Commit

Permalink
clean env
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolagospagopa committed Jun 25, 2024
1 parent 1ca85f5 commit 46f30e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/domains/printit-common/99_locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ locals {
aks_subnet_name = "${local.product}-${var.location_short}-${var.env}-user-aks"
cosmos_subnet_name = "${local.product}-${var.location_short}-${var.env}-user-aks"

ingress_hostname = "${var.location_short}${var.instance}.${var.domain}"
ingress_hostname = "${var.location_short}.${var.domain}"

internal_dns_zone_name = "${var.dns_zone_internal_prefix}.${var.external_domain}"
internal_dns_zone_resource_group_name = "${local.product}-vnet-rg"
Expand Down
21 changes: 8 additions & 13 deletions src/domains/printit-common/env/itn-prod/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ tags = {
### 🚩Features flags

is_feature_enabled = {
cosmosdb_notice = false
storage_institutions = false
storage_notice = false
storage_templates = false
eventhub = false
cosmosdb_notice = true
storage_institutions = true
storage_notice = true
storage_templates = true
eventhub = true
}

### CIRDs
Expand All @@ -32,8 +32,6 @@ cidr_printit_redis_italy = ["10.3.12.64/27"]
cidr_printit_postgresql_italy = ["10.3.12.96/27"]
cidr_printit_pdf_engine_italy = ["10.3.12.128/27"]



### External resources

monitor_italy_resource_group_name = "pagopa-p-itn-core-monitor-rg"
Expand Down Expand Up @@ -87,7 +85,7 @@ cosmos_mongo_db_notices_params = {
notices_storage_account = {
account_kind = "StorageV2"
account_tier = "Standard"
account_replication_type = "GZRS"
account_replication_type = "ZRS"
blob_versioning_enabled = true
advanced_threat_protection = false
public_network_access_enabled = false
Expand All @@ -101,7 +99,7 @@ notices_storage_account = {
templates_storage_account = {
account_kind = "StorageV2"
account_tier = "Standard"
account_replication_type = "GZRS"
account_replication_type = "ZRS"
blob_versioning_enabled = true
advanced_threat_protection = false
public_network_access_enabled = false
Expand All @@ -112,17 +110,14 @@ templates_storage_account = {
institutions_storage_account = {
account_kind = "StorageV2"
account_tier = "Standard"
account_replication_type = "GZRS"
account_replication_type = "ZRS"
blob_versioning_enabled = true
advanced_threat_protection = false
public_network_access_enabled = false
blob_delete_retention_days = 30
enable_low_availability_alert = true
}

enable_iac_pipeline = true


ehns_sku_name = "Standard"

# to avoid https://docs.microsoft.com/it-it/azure/event-hubs/event-hubs-messaging-exceptions#error-code-50002
Expand Down

0 comments on commit 46f30e0

Please sign in to comment.