github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/refactoring/testdata/move-statement-implied/child/move-statement-implied.tf (about) 1 # This fixture is useful only in conjunction with a previous run state that 2 # conforms to the statements encoded in the resource names. It's for 3 # TestImpliedMoveStatements only. 4 5 resource "foo" "formerly_count" { 6 # but not count anymore 7 } 8 9 resource "foo" "now_count" { 10 count = 1 11 } 12 13 moved { 14 from = foo.no_longer_present[1] 15 to = foo.no_longer_present 16 }