-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Renamed core and pillar folders (#73)
- Loading branch information
1 parent
1265bfe
commit faae3b8
Showing
54 changed files
with
1,480 additions
and
1,480 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.
File renamed without changes.
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 |
---|---|---|
@@ -1,16 +1,59 @@ | ||
# Subnet to host the api config | ||
module "private_endpoints_snet" { | ||
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//subnet?ref=v6.3.1" | ||
name = "${local.program}-private-endpoints-snet" | ||
address_prefixes = var.cidr_subnet_private_endpoints | ||
virtual_network_name = data.azurerm_virtual_network.vnet.name | ||
|
||
resource_group_name = data.azurerm_resource_group.rg_vnet.name | ||
|
||
private_endpoint_network_policies_enabled = false | ||
service_endpoints = [ | ||
"Microsoft.Web", | ||
"Microsoft.AzureCosmosDB", | ||
"Microsoft.Storage", | ||
] | ||
resource "azurerm_resource_group" "rg_vnet" { | ||
name = local.vnet_resource_group_name | ||
location = var.location | ||
|
||
tags = var.tags | ||
} | ||
|
||
# vnet | ||
module "vnet" { | ||
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//virtual_network?ref=v4.1.0" | ||
name = local.vnet_name | ||
location = azurerm_resource_group.rg_vnet.location | ||
resource_group_name = azurerm_resource_group.rg_vnet.name | ||
address_space = var.cidr_vnet | ||
|
||
tags = var.tags | ||
} | ||
|
||
## Application gateway public ip ## | ||
resource "azurerm_public_ip" "appgateway_public_ip" { | ||
name = local.appgateway_public_ip_name | ||
resource_group_name = azurerm_resource_group.rg_vnet.name | ||
location = azurerm_resource_group.rg_vnet.location | ||
sku = "Standard" | ||
allocation_method = "Static" | ||
|
||
zones = [1, 2, 3] | ||
|
||
tags = var.tags | ||
} | ||
|
||
resource "azurerm_public_ip" "appgateway_beta_public_ip" { | ||
name = local.appgateway_beta_public_ip_name | ||
resource_group_name = azurerm_resource_group.rg_vnet.name | ||
location = azurerm_resource_group.rg_vnet.location | ||
sku = "Standard" | ||
allocation_method = "Static" | ||
|
||
zones = [1, 2, 3] | ||
|
||
tags = var.tags | ||
} | ||
|
||
# | ||
# ⛴ AKS public IP | ||
# | ||
resource "azurerm_public_ip" "aks_outbound" { | ||
count = var.aks_num_outbound_ips | ||
|
||
name = "${local.aks_public_ip_name}-${count.index + 1}" | ||
location = azurerm_resource_group.rg_vnet.location | ||
resource_group_name = azurerm_resource_group.rg_vnet.name | ||
sku = "Standard" | ||
allocation_method = "Static" | ||
|
||
zones = [1, 2, 3] | ||
|
||
tags = var.tags | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.