pulumi / pulumi-yaml

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

Fix functions-pp test #445

Closed Frassle closed 1 year ago

Frassle commented 1 year ago

bucket.id isn't a valid base64 string to decode. This was showing up in test runs as a pass but with the message:

=== RUN   TestGenerateProgram/functions
    gen_program_test.go:200: 
            Error Trace:    /home/runner/work/pulumi-yaml/pulumi-yaml/pkg/pulumiyaml/codegen/gen_program_test.go:200
                                        /home/runner/work/pulumi-yaml/pulumi-yaml/pkg/pulumiyaml/codegen/program_driver.go:498
            Error:          Received unexpected error:
                            1 error occurred:
                                * ../testing/test/testdata/functions-pp/yaml/functions.yaml:18,21-33: fn::fromBase64 unable to decode bucket, error: illegal base64 data at input byte 4; 

            Test:           TestGenerateProgram/functions