terraform/internal/configs/testdata/valid-modules/moved-blocks/moved-blocks-1.tf

30 lines
351 B
HCL

terraform {
# For the moment this is experimental
experiments = [config_driven_move]
}
moved {
from = test.foo
to = test.bar
}
moved {
from = test.foo
to = test.bar["bloop"]
}
moved {
from = module.a
to = module.b
}
moved {
from = module.a
to = module.a["foo"]
}
moved {
from = test.foo
to = module.a.test.foo
}