-
Notifications
You must be signed in to change notification settings - Fork 0
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
[#IOPID-2488] align fn-lv subnet with service_endpoint #123
Conversation
|
Jira Pull Request LinkThis Pull Request refers to the following Jira issue IOPID-2488 |
📖 Terraform Plan ('infra/resources/prod') - successTerraform PlanTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
-/+ destroy and then create replacement
<= read (data resources)
Terraform will perform the following actions:
# module.function_lv.azurerm_linux_function_app.this will be updated in-place
~ resource "azurerm_linux_function_app" "this" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/sites/io-p-itn-auth-lv-func-02"
name = "io-p-itn-auth-lv-func-02"
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Auth&Identity"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-auth-n-identity-domain/tree/main/infra/resources/prod"
}
# (27 unchanged attributes hidden)
~ sticky_settings {
~ app_setting_names = [
- "APPINSIGHTS_SAMPLING_PERCENTAGE",
"SLOT_TASK_HUBNAME",
+ "APPINSIGHTS_SAMPLING_PERCENTAGE",
"AzureFunctionsWebHost__hostid",
]
# (1 unchanged attribute hidden)
}
# (2 unchanged blocks hidden)
}
# module.function_lv_autoscale.data.azurerm_linux_function_app.this[0] will be read during apply
# (depends on a resource or a module with changes pending)
<= data "azurerm_linux_function_app" "this" {
+ app_settings = (known after apply)
+ auth_settings = (known after apply)
+ auth_settings_v2 = (known after apply)
+ availability = (known after apply)
+ backup = (known after apply)
+ builtin_logging_enabled = (known after apply)
+ client_certificate_enabled = (known after apply)
+ client_certificate_exclusion_paths = (known after apply)
+ client_certificate_mode = (known after apply)
+ connection_string = (known after apply)
+ content_share_force_disabled = (known after apply)
+ custom_domain_verification_id = (sensitive value)
+ daily_memory_time_quota = (known after apply)
+ default_hostname = (known after apply)
+ enabled = (known after apply)
+ ftp_publish_basic_authentication_enabled = (known after apply)
+ functions_extension_version = (known after apply)
+ hosting_environment_id = (known after apply)
+ https_only = (known after apply)
+ id = (known after apply)
+ identity = (known after apply)
+ kind = (known after apply)
+ location = (known after apply)
+ name = "io-p-itn-auth-lv-func-02"
+ outbound_ip_address_list = (known after apply)
+ outbound_ip_addresses = (known after apply)
+ possible_outbound_ip_address_list = (known after apply)
+ possible_outbound_ip_addresses = (known after apply)
+ public_network_access_enabled = (known after apply)
+ resource_group_name = "io-p-itn-auth-lv-rg-01"
+ service_plan_id = (known after apply)
+ site_config = (known after apply)
+ site_credential = (sensitive value)
+ sticky_settings = (known after apply)
+ storage_account_access_key = (sensitive value)
+ storage_account_name = (known after apply)
+ storage_key_vault_secret_id = (known after apply)
+ storage_uses_managed_identity = (known after apply)
+ tags = (known after apply)
+ usage = (known after apply)
+ virtual_network_subnet_id = (known after apply)
+ webdeploy_publish_basic_authentication_enabled = (known after apply)
}
# module.function_lv_autoscale.azurerm_monitor_autoscale_setting.this must be replaced
-/+ resource "azurerm_monitor_autoscale_setting" "this" {
~ id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Insights/autoScaleSettings/io-p-itn-auth-lv-as-02" -> (known after apply)
~ location = "italynorth" # forces replacement -> (known after apply) # forces replacement
name = "io-p-itn-auth-lv-as-02"
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Auth&Identity"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-auth-n-identity-domain/tree/main/infra/resources/prod"
}
~ target_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/serverfarms/io-p-itn-auth-lv-asp-02" # forces replacement -> (known after apply) # forces replacement
# (2 unchanged attributes hidden)
~ profile {
name = "evening"
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/sites/io-p-itn-auth-lv-func-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/sites/io-p-itn-auth-lv-func-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/serverfarms/io-p-itn-auth-lv-asp-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/serverfarms/io-p-itn-auth-lv-asp-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
# (2 unchanged blocks hidden)
}
~ profile {
name = jsonencode(
{
for = "evening"
name = "default"
}
)
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/sites/io-p-itn-auth-lv-func-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/sites/io-p-itn-auth-lv-func-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/serverfarms/io-p-itn-auth-lv-asp-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/serverfarms/io-p-itn-auth-lv-asp-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
# (2 unchanged blocks hidden)
}
~ profile {
name = "wallet_gate2"
~ fixed_date {
~ end = "2024-11-06T22:00:00Z" -> "2024-11-06T22:00:00.00Z"
~ start = "2024-11-06T08:00:00Z" -> "2024-11-06T08:00:00.00Z"
# (1 unchanged attribute hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/sites/io-p-itn-auth-lv-func-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/sites/io-p-itn-auth-lv-func-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/serverfarms/io-p-itn-auth-lv-asp-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
~ rule {
~ metric_trigger {
~ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-auth-lv-rg-01/providers/Microsoft.Web/serverfarms/io-p-itn-auth-lv-asp-02" -> (known after apply)
# (9 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
# (1 unchanged block hidden)
}
}
Plan: 1 to add, 1 to change, 1 to destroy.
Warning: Deprecated Resource
with data.azurerm_app_service.app_backend_li,
on function_lv.tf line 11, in data "azurerm_app_service" "app_backend_li":
11: data "azurerm_app_service" "app_backend_li" {
The `azurerm_app_service` data source has been superseded by the
`azurerm_linux_function_app` and `azurerm_windows_web_app` data sources.
Whilst this resource will continue to be available in the 2.x and 3.x
releases it is feature-frozen for compatibility purposes, will no longer
receive any updates and will be removed in a future major release of the
Azure Provider.
(and one more similar warning elsewhere)
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now. |
List of Changes
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: