Unable to use Automation API to install a version of Pulumi #392
Labels
area/automation-api
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
What happened?
When using the Automation API to install a version of Pulumi, we're currently seeing an error occuring when running the install command to install the Pulumi cli.
Example
Given the following Pulumi program
Running
dotnet run
returns the above exception. I would expect this to install version 3.129.0 of the Pulumi cli.Output of
pulumi about
N/A
Additional context
I believe this is because the published binaries do not include an expected Assembly Attribute.
#226 introduced a required Assembly Attributed called
PulumiSdkVersion
which is obtained during build from thego.mod
in the project. However this was only added to the build target and not the publish. Publish runs it's own build step but excludes the required property to set the attribute value -pulumi-dotnet/build/Publish.fs
Line 38 in e105d32
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: