|
|
|
|
@ -536,7 +536,7 @@ func TestQuery_JSON(t *testing.T) {
|
|
|
|
|
"ami": "ami-12345",
|
|
|
|
|
"id": "test-instance-1",
|
|
|
|
|
},
|
|
|
|
|
"config": "resource \"test_instance\" \"example_0\" {\n provider = test\n ami = \"ami-12345\"\n id = \"test-instance-1\"\n}",
|
|
|
|
|
"config": "resource \"test_instance\" \"example_0\" {\n provider = test\n ami = \"ami-12345\"\n}",
|
|
|
|
|
"import_config": "import {\n to = test_instance.example_0\n provider = test\n identity = {\n id = \"test-instance-1\"\n }\n}",
|
|
|
|
|
},
|
|
|
|
|
"type": "list_resource_found",
|
|
|
|
|
@ -556,7 +556,7 @@ func TestQuery_JSON(t *testing.T) {
|
|
|
|
|
"ami": "ami-67890",
|
|
|
|
|
"id": "test-instance-2",
|
|
|
|
|
},
|
|
|
|
|
"config": "resource \"test_instance\" \"example_1\" {\n provider = test\n ami = \"ami-67890\"\n id = \"test-instance-2\"\n}",
|
|
|
|
|
"config": "resource \"test_instance\" \"example_1\" {\n provider = test\n ami = \"ami-67890\"\n}",
|
|
|
|
|
"import_config": "import {\n to = test_instance.example_1\n provider = test\n identity = {\n id = \"test-instance-2\"\n }\n}",
|
|
|
|
|
},
|
|
|
|
|
"type": "list_resource_found",
|
|
|
|
|
|