Skip to content

Commit

Permalink
Turn params into a map
Browse files Browse the repository at this point in the history
  • Loading branch information
romanini-ciandt committed Nov 8, 2024
1 parent 699f2ed commit 95469f2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions test/integration/monitoring_alerts/monitoring_alerts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ func TestMonitoringAlertKeyVersion(t *testing.T) {

emailAddresses := []string{"[email protected]", "[email protected]"}

for index, monitor_all_keys_in_the_project := range []bool{
true,
false,
} {
TfInputs := map[string]bool{
"test1": true,
"test2": false,
}

index := 0
for _, monitor_all_keys_in_the_project := range TfInputs {

statePath := fmt.Sprintf("%s/custom_backend_%d.tfstate", path, index)

Expand Down Expand Up @@ -114,5 +117,7 @@ func TestMonitoringAlertKeyVersion(t *testing.T) {

})
kmsAlertT.Test()

index++
}
}

0 comments on commit 95469f2

Please sign in to comment.