kubeform.dev/terraform-backend-sdk@v0.0.0-20220310143633-45f07fe731c5/configs/testdata/valid-modules/moved-blocks/moved-blocks-1.tf (about)

     1  terraform {
     2    # For the moment this is experimental
     3    experiments = [config_driven_move]
     4  }
     5  
     6  moved {
     7    from = test.foo
     8    to   = test.bar
     9  }
    10  
    11  moved {
    12    from = test.foo
    13    to   = test.bar["bloop"]
    14  }
    15  
    16  moved {
    17    from = module.a
    18    to   = module.b
    19  }
    20  
    21  moved {
    22    from = module.a
    23    to   = module.a["foo"]
    24  }
    25  
    26  moved {
    27    from = test.foo
    28    to   = module.a.test.foo
    29  }