30 lines
351 B
Terraform
30 lines
351 B
Terraform
|
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
|
||
|
}
|