pulumi/tests/testdata/codegen/unknown-resource-pp/go
Zaid Ajaj 63b23ecde5
[go/program-gen] Do not emit index module for resources without a schema (#16588)
For resources that don't have a schema, we emit a best guess for how
they are declared and how imports should be emitted. For these resources
we emit `index.{ResourceName}` if that resource is from the index
module, however this is not how resources are usually generated, instead
we should generate `{packageName}.{ResourceName}` for resources from the
index module which is what this PR resolves.

Fixes #16461
2024-07-08 14:57:23 +00:00
..
unknown-resource.go [go/program-gen] Do not emit index module for resources without a schema (#16588) 2024-07-08 14:57:23 +00:00