blob: 0649ecc966139b1d1b9939dd045a613fb41ccd02 [file] [log] [blame]
resource "test_resource" "a" {
for_each = var.input
lifecycle {
// cannot use each.val
replace_triggered_by = [ test_resource.b[each.val] ]
}
}