github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/not-internal/configs/testdata/valid-modules/moved-blocks/moved-blocks-1.tf (about)

     1  moved {
     2    from = test.foo
     3    to   = test.bar
     4  }
     5  
     6  moved {
     7    from = test.foo
     8    to   = test.bar["bloop"]
     9  }
    10  
    11  moved {
    12    from = module.a
    13    to   = module.b
    14  }
    15  
    16  moved {
    17    from = module.a
    18    to   = module.a["foo"]
    19  }
    20  
    21  moved {
    22    from = test.foo
    23    to   = module.a.test.foo
    24  }