Skip to content

Commit

Permalink
Merge pull request #13880 from aristosvo/monitor/tags
Browse files Browse the repository at this point in the history
`azurerm_monitor_metric_alert`: Tags added to AccTests
  • Loading branch information
stephybun authored Oct 25, 2021
2 parents cc3a286 + 00b3c66 commit 5655725
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions internal/services/monitor/monitor_metric_alert_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@ resource "azurerm_monitor_metric_alert" "test" {
}
window_size = "PT1H"
tags = {
test = "123"
Example = "Example123"
terraform = "Coolllll"
CUSTOMER = "CUSTOMERx"
}
}
`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomInteger)
}
Expand Down Expand Up @@ -270,6 +277,16 @@ resource "azurerm_monitor_metric_alert" "test" {
action {
action_group_id = azurerm_monitor_action_group.test2.id
}
tags = {
test = "456"
Example = "Example456"
Terraform = "Coolllll"
tfazurerm = "Awesome"
CUSTOMER = "CUSTOMERx"
"EXAMPLE.TAG" = "sample"
"Foo.Bar" = "Test tag"
}
}
`, data.RandomInteger, data.Locations.Primary, data.RandomString)
}
Expand Down

0 comments on commit 5655725

Please sign in to comment.