Skip to content

Commit ccd3ffd

Browse files
committed
Fixed metrics ordering to fix metrics retrieval error.
1 parent ba7b55b commit ccd3ffd

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.14.1 (Jun 23, 2025)
2+
* Fixed metrics ordering to fix metrics retrieval error.
3+
14
# 0.14.0 (Jun 05, 2025)
25
* Added `var.maintenance_window` to control system updates are applied.
36
* Added `var.auto_upgrade_minor` to allow disabling of minor version upgrades.

metrics.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ locals {
3939
unit = "MB"
4040

4141
mappings = {
42-
memory_average = {
43-
account_id = local.account_id
44-
expression = "memory_average_bytes / 1048576" // Convert bytes to MB
45-
dimensions = local.dims
46-
}
4742
memory_average_bytes = {
4843
account_id = local.account_id
4944
stat = "Average"
@@ -52,6 +47,11 @@ locals {
5247
dimensions = local.dims
5348
hide_from_results = true
5449
}
50+
memory_average = {
51+
account_id = local.account_id
52+
expression = "memory_average_bytes / 1048576" // Convert bytes to MB
53+
dimensions = local.dims
54+
}
5555
}
5656
},
5757
{

0 commit comments

Comments
 (0)