-
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
Align infra readme files #158
base: main
Are you sure you want to change the base?
Conversation
|
Must be merged only when #155 is completed |
📖 Terraform Plan ('infra/resources/prod') - successTerraform Planmodule.web_apps.module.citizen_func_autoscaler.data.azurerm_linux_function_app.this[0]: Still reading... [10s elapsed]
module.web_apps.module.etl_func_autoscaler.data.azurerm_linux_function_app.this[0]: Still reading... [10s elapsed]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
Terraform will perform the following actions:
# module.eventhubs.module.etl.azurerm_eventhub.events["io-p-itn-com-etl-messages-evh-01"] will be updated in-place
~ resource "azurerm_eventhub" "events" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-com-rg-01/providers/Microsoft.EventHub/namespaces/io-p-itn-com-etl-evhns-01/eventhubs/io-p-itn-com-etl-messages-evh-01"
~ message_retention = 1 -> 7
name = "io-p-itn-com-etl-messages-evh-01"
# (6 unchanged attributes hidden)
}
# module.web_apps.module.etl_func_autoscaler.azurerm_monitor_autoscale_setting.this will be created
+ resource "azurerm_monitor_autoscale_setting" "this" {
+ enabled = true
+ id = (known after apply)
+ location = "italynorth"
+ name = "io-p-itn-com-etl-as-01"
+ resource_group_name = "io-p-itn-com-rg-01"
+ tags = {
+ "CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
+ "CreatedBy" = "Terraform"
+ "Environment" = "Prod"
+ "ManagementTeam" = "IO Comunicazione"
+ "Owner" = "IO"
+ "Source" = "https://github.com/pagopa/io-messages/blob/main/infra/resources/prod"
}
+ target_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-com-rg-01/providers/Microsoft.Web/serverFarms/io-p-itn-com-etl-asp-01"
+ profile {
+ name = "Default"
+ capacity {
+ default = 4
+ maximum = 4
+ minimum = 4
}
+ rule {
+ metric_trigger {
+ divide_by_instance_count = false
+ metric_name = "CpuPercentage"
+ metric_namespace = "microsoft.web/serverfarms"
+ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-com-rg-01/providers/Microsoft.Web/serverFarms/io-p-itn-com-etl-asp-01"
+ operator = "GreaterThan"
+ statistic = "Average"
+ threshold = 80
+ time_aggregation = "Average"
+ time_grain = "PT1M"
+ time_window = "PT5M"
}
+ scale_action {
+ cooldown = "PT1M"
+ direction = "Increase"
+ type = "ChangeCount"
+ value = 1
}
}
+ rule {
+ metric_trigger {
+ divide_by_instance_count = false
+ metric_name = "CpuPercentage"
+ metric_namespace = "microsoft.web/serverfarms"
+ metric_resource_id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-com-rg-01/providers/Microsoft.Web/serverFarms/io-p-itn-com-etl-asp-01"
+ operator = "LessThan"
+ statistic = "Average"
+ threshold = 20
+ time_aggregation = "Average"
+ time_grain = "PT1M"
+ time_window = "PT5M"
}
+ scale_action {
+ cooldown = "PT20M"
+ direction = "Decrease"
+ type = "ChangeCount"
+ value = 1
}
}
}
}
Plan: 1 to add, 1 to change, 0 to destroy.
Warning: Argument is deprecated
with module.storage_api_weu.azurerm_storage_container.message_content,
on ../_modules/storage_accounts/storage_account_api.tf line 32, in resource "azurerm_storage_container" "message_content":
32: storage_account_name = module.storage_api.name
the `storage_account_name` property has been deprecated in favour of
`storage_account_id` and will be removed in version 5.0 of the Provider.
(and 5 more similar warnings 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. |
No description provided.