github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/internal/command/testdata/import-provider-datasource/main.tf (about)

     1  provider "test" {
     2    foo = data.test_data.key.id
     3  }
     4  
     5  provider "test" {
     6    alias = "credentials"
     7  }
     8  
     9  data "test_data" "key" {
    10    provider = test.credentials
    11  }
    12  
    13  resource "test_instance" "foo" {}