github.com/opentofu/opentofu@v1.7.1/internal/tofu/testdata/import-id-invalid-null/main.tf (about)

     1  variable "the_id" {
     2    type = string
     3  }
     4  
     5  import {
     6    to = test_resource.foo
     7    id = var.the_id
     8  }
     9  
    10  resource "test_resource" "foo" {}