You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform doesn't accept providing dimension details in the query while provisioning Alarm definitions.
Throws an error while providing metrics or resourceId details. Please advise.
Panic Output
NA
Expected Behavior
Terraform to support MQL for adding dimensions to the alarm definitions.
Actual Behavior
Unsupported query errors
The text was updated successfully, but these errors were encountered:
Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format.
Example: affected_resources = oci_core_instance , oci_core_instances
If it's not related to any particular resource then mention affected resource as terraform.
Example: affected_resources = terraform
As this works through automation, request you to follow exact syntax.
Community Note
Terraform Version and Provider Version
Terraform v1.6.2
Provider Version 5.27.0
Affected Resource(s)
oci_monitoring_alarm
Terraform Configuration Files
Code snippet:
resource "oci_monitoring_alarm" "oic_bmc" {
#Required
compartment_id = var.compartment_id
destinations = [var.notification_topic_id]
display_name = var.oic_bmc_display_name
is_enabled = var.alarm_is_enabled
metric_compartment_id = var.compartment_id
namespace = var.alarm_namespace_oic
query = "BilledMessageCount[1m]{resourceDisplayName =~ ''}.sum() > 4000"
severity = var.alarm_severity_critical
resolution = var.alarm_resolution
message_format = var.alarm_message_format
depends_on = [oci_integration_integration_instance.oic_instance]
}
Debug Output
Terraform doesn't accept providing dimension details in the query while provisioning Alarm definitions.
Throws an error while providing metrics or resourceId details. Please advise.
Panic Output
NA
Expected Behavior
Terraform to support MQL for adding dimensions to the alarm definitions.
Actual Behavior
Unsupported query errors
The text was updated successfully, but these errors were encountered: