You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
In upgrading to Pulumi v3.76 (#474), we discovered that the unknown-resource codegen
test is broken for this repository:
--- FAIL: TestGenerateProgram (0.00s)
--- FAIL: TestGenerateProgram/unknown-resource (0.00s)
program_driver.go:571: bind diags:
Warning: unknown package 'unknown'
on unknown-resource.pp line 0:
1: resource provider "pulumi:providers:unknown" { }
could not locate a compatible plugin in deploytest, the makefile and &
constructor of the plugin host must define the location of the schema: failed to
locate compatible plugin: "unknown"
Warning: unknown package 'unknown'
on unknown-resource.pp line 2:
3: resource main "unknown:index:main" {
could not locate a compatible plugin in deploytest, the makefile and &
constructor of the plugin host must define the location of the schema: failed to
locate compatible plugin: "unknown"
Warning: unsupported attribute 'first'
on unknown-resource.pp line 3:
4: first = "hello"
unsupported attribute 'first'
Warning: unsupported attribute 'second'
on unknown-resource.pp line 4:
5: second = {
unsupported attribute 'second'
Warning: unknown package 'unknown'
on unknown-resource.pp line 9:
10: resource fromModule "unknown:eks:example" {
could not locate a compatible plugin in deploytest, the makefile and &
constructor of the plugin host must define the location of the schema: failed to
locate compatible plugin: "unknown"
Warning: unsupported attribute 'associatedMain'
on unknown-resource.pp line 11:
12: associatedMain = main.id
unsupported attribute 'associatedMain'
gen_program_test.go:217:
Error Trace: /Users/abg/src/pulumi/yaml/pkg/pulumiyaml/codegen/gen_program_test.go:217
/Users/abg/go/pkg/mod/github.com/pulumi/pulumi/pkg/v3@v3.76.1/codegen/testing/test/program_driver.go:635
Error: Received unexpected error:
1 error occurred:
*
-error: ../testing/test/testdata/unknown-resource-pp/yaml/unknown-resource.yaml:3,11-35: error resolving type of resource provider: internal error loading package "unknown": could not locate a compatible plugin in deploytest, the makefile and & constructor of the plugin host must define the location of the schema: failed to locate compatible plugin: "unknown";
-error: ../testing/test/testdata/unknown-resource-pp/yaml/unknown-resource.yaml:5,11-23: error resolving type of resource main: internal error loading package "unknown": could not locate a compatible plugin in deploytest, the makefile and & constructor of the plugin host must define the location of the schema: failed to locate compatible plugin: "unknown";
-error: ../testing/test/testdata/unknown-resource-pp/yaml/unknown-resource.yaml:11,11-30: error resolving type of resource fromModule: internal error loading package "unknown": could not locate a compatible plugin in deploytest, the makefile and & constructor of the plugin host must define the location of the schema: failed to locate compatible plugin: "unknown";
Test: TestGenerateProgram/unknown-resource
FAIL
Affected area/feature
The text was updated successfully, but these errors were encountered:
Gets the latest testdata with `make get_testdata`,
updates `get_schemas.sh` with schemas referenced by these tests,
and runs codegen to regenerate all cases.
Broken tests were opted out, with the following issues created for them.
- #476
- #477
- #478
- #479
- #480
The version of Pulumi used by pulumi-yaml
has not been updated in a while.
Update to the latest release,
pull the latest testdata with `make get_testdata`,
update `get_schemas.sh` with schemas referenced by these tests,
and run codegen to regenerate all cases.
Broken tests were opted out, with the following issues created for them.
- #476
- #477
- #478
- #479
- #480
Hello!
Issue details
In upgrading to Pulumi v3.76 (#474), we discovered that the unknown-resource codegen
test is broken for this repository:
Affected area/feature
The text was updated successfully, but these errors were encountered: