Conversation
Updated TF version
Contributor
Plan Result
Change Result (Click me) # azurerm_key_vault_secret.POSTGRES-HOST will be updated in-place
~ resource "azurerm_key_vault_secret" "POSTGRES-HOST" {
id = "https://cpo-aat.vault.azure.net/secrets/case-payment-orders-api-POSTGRES-HOST/62249c8a440a4fb5bd7abb3ac21b5651"
name = "case-payment-orders-api-POSTGRES-HOST"
tags = {}
~ value = (sensitive value)
# (5 unchanged attributes hidden)
}
# azurerm_key_vault_secret.POSTGRES-PASS will be updated in-place
~ resource "azurerm_key_vault_secret" "POSTGRES-PASS" {
id = "https://cpo-aat.vault.azure.net/secrets/case-payment-orders-api-POSTGRES-PASS/2873e880434c499d81dd790568347c4a"
name = "case-payment-orders-api-POSTGRES-PASS"
tags = {}
~ value = (sensitive value)
# (5 unchanged attributes hidden)
}
# azurerm_key_vault_secret.POSTGRES-USER will be updated in-place
~ resource "azurerm_key_vault_secret" "POSTGRES-USER" {
id = "https://cpo-aat.vault.azure.net/secrets/case-payment-orders-api-POSTGRES-USER/c1d98962358d4149b2883e55a2521ac9"
name = "case-payment-orders-api-POSTGRES-USER"
tags = {}
~ value = (sensitive value)
# (5 unchanged attributes hidden)
}
# module.application_insights.azurerm_application_insights.this will be updated in-place
~ resource "azurerm_application_insights" "this" {
~ daily_data_cap_notifications_disabled = false -> true
id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/cpo-shared-aat/providers/Microsoft.Insights/components/cpo-aat"
name = "cpo-aat"
tags = {
"application" = "core-case-data"
"autoShutdown" = "true"
"builtFrom" = "https://github.com/HMCTS/cpo-case-payment-orders-api.git"
"businessArea" = "CFT"
"contactSlackChannel" = "#ccd_support"
"environment" = "staging"
"managedBy" = "CDM"
}
# (15 unchanged attributes hidden)
}
# module.application_insights.azurerm_monitor_action_group.action_group will be created
+ resource "azurerm_monitor_action_group" "action_group" {
+ enabled = true
+ id = (known after apply)
+ location = "global"
+ name = "Cpo-Aat-Warning-Alerts"
+ resource_group_name = "cpo-shared-aat"
+ short_name = "cpo-aat"
+ tags = {
+ "application" = "core-case-data"
+ "autoShutdown" = "true"
+ "builtFrom" = "https://github.com/HMCTS/cpo-case-payment-orders-api.git"
+ "businessArea" = "CFT"
+ "contactSlackChannel" = "#ccd_support"
+ "environment" = "staging"
+ "managedBy" = "CDM"
}
+ azure_function_receiver {
+ function_app_resource_id = "/subscriptions/96c274ce-846d-4e48-89a7-d528432298a7/resourceGroups/cft-alerts-slack-aat/providers/Microsoft.Web/sites/cft-alerts-slack-aat"
+ function_name = "httpTrigger"
+ http_trigger_url = (sensitive value)
+ name = "slack-alerts"
+ use_common_alert_schema = true
}
}
# module.application_insights.azurerm_monitor_activity_log_alert.main will be created
+ resource "azurerm_monitor_activity_log_alert" "main" {
+ description = "Monitors for application insight reaching it's daily cap."
+ enabled = true
+ id = (known after apply)
+ name = "Application Insights daily cap reached"
+ resource_group_name = "cpo-shared-aat"
+ scopes = [
+ "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/cpo-shared-aat/providers/Microsoft.Insights/components/cpo-aat",
]
+ tags = {
+ "application" = "core-case-data"
+ "autoShutdown" = "true"
+ "builtFrom" = "https://github.com/HMCTS/cpo-case-payment-orders-api.git"
+ "businessArea" = "CFT"
+ "contactSlackChannel" = "#ccd_support"
+ "environment" = "staging"
+ "managedBy" = "CDM"
}
+ action {
+ action_group_id = (known after apply)
+ webhook_properties = {
+ "from" = "terraform"
+ "slackChannelId" = "CG1QC1L66"
}
}
+ criteria {
+ category = "Administrative"
+ level = "Warning"
+ operation_name = "Microsoft.Insights/Components/DailyCapReached/Action"
+ resource_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/cpo-shared-aat/providers/Microsoft.Insights/components/cpo-aat"
}
}
Plan: 2 to add, 4 to change, 0 to destroy. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Terraform version