github.com/opentofu/opentofu@v1.7.1/internal/tofu/testdata/import-id-func/main.tf (about) 1 import { 2 to = aws_instance.foo 3 id = substr("hmm123", "2", "3") 4 } 5 6 resource "aws_instance" "foo" { 7 8 }