-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into IOPAE-1529-ipatente-appgateway-vehicles-lice…
…nces-ipatente-listeners
- Loading branch information
Showing
15 changed files
with
151 additions
and
74 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
data "azurerm_virtual_network" "common_itn" { | ||
name = "${local.common_project_itn}-common-vnet-01" | ||
resource_group_name = "${local.common_project_itn}-common-rg-01" | ||
} | ||
|
||
data "azurerm_subnet" "private_endpoints_subnet_itn" { | ||
name = "${local.common_project_itn}-pep-snet-01" | ||
virtual_network_name = data.azurerm_virtual_network.common_itn.name | ||
resource_group_name = data.azurerm_virtual_network.common_itn.resource_group_name | ||
} |
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
resource "azurerm_resource_group" "io_web_profile_itn_fe_rg" { | ||
name = format("%s-ioweb-fe-rg-01", local.project_itn) | ||
location = local.itn_location | ||
} | ||
|
||
module "io_web_profile_itn_fe_st" { | ||
source = "github.com/pagopa/dx//infra/modules/azure_storage_account?ref=main" | ||
|
||
// s tier -> Standard LRS | ||
// l tier -> Standard ZRS | ||
tier = "l" | ||
|
||
# NOTE: domain omitted for characters shortage | ||
environment = { | ||
prefix = var.prefix | ||
env_short = var.env_short | ||
location = local.itn_location | ||
app_name = replace("ioweb-profile", "-", "") | ||
instance_number = "01" | ||
} | ||
access_tier = "Hot" | ||
|
||
resource_group_name = azurerm_resource_group.io_web_profile_itn_fe_rg.name | ||
subnet_pep_id = data.azurerm_subnet.private_endpoints_subnet_itn.id | ||
private_dns_zone_resource_group_name = data.azurerm_resource_group.common_rg_weu.name | ||
|
||
# storage should be accessible by CDN via private endpoint | ||
# see https://learn.microsoft.com/en-us/azure/frontdoor/standard-premium/how-to-enable-private-link-storage-account | ||
force_public_network_access_enabled = false | ||
subservices_enabled = { | ||
blob = true | ||
} | ||
blob_features = { | ||
versioning = true | ||
change_feed = { | ||
enabled = false | ||
} | ||
immutability_policy = { | ||
enabled = false | ||
} | ||
} | ||
|
||
static_website = { | ||
index_document = "index.html" | ||
error_404_document = "it/404/index.html" | ||
} | ||
|
||
tags = var.tags | ||
} |
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
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
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
Oops, something went wrong.