scopes

val scopes: Output<List<String>>

the list of resource id's that this metric alert is scoped to. You cannot change the scope of a metric rule based on logs.