pulumi / pulumi-yaml

YAML language provider for Pulumi
Apache License 2.0
39 stars 12 forks source link

codegen: logical-name test is broken #477

Closed abhinav closed 9 months ago

abhinav commented 1 year ago

Hello!

Issue details

The logical-name test is broken for this repository using Pulumi v3.76.

--- FAIL: TestGenerateProgram (2.41s)
    --- FAIL: TestGenerateProgram/logical-name (0.00s)
        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:
                                        * ../testing/test/testdata/logical-name-pp/yaml/logical-name.yaml:2,3-20: missing required configuration variable 'configLexicalName'; run `pulumi config` to set;

                Test:           TestGenerateProgram/logical-name
FAIL
exit status 1
FAIL    github.com/pulumi/pulumi-yaml/pkg/pulumiyaml/codegen    2.453s

Discovered in #474

Affected area/feature

Zaid-Ajaj commented 9 months ago

Fixed by https://github.com/pulumi/pulumi-yaml/pull/546

pulumi-bot commented 9 months ago

Cannot close issue:

Please fix these problems and try again.