FS#79604 - [pulumi] Missing plugin binaries

Attached to Project: Arch Linux
Opened by Richard Hillmann (project0) - Thursday, 07 September 2023, 13:57 GMT
Last edited by Christian Heusel (gromit) - Thursday, 07 September 2023, 14:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The policy pack feature is broken: pulumi preview --policy-pack $FLOWERS/flowers-aws-account-management/policypack
> error: could not start policy pack "/home/richard/data/code/git/gitlab.com/flowers/flowers-aws-account-management/policypack" because the built-in analyzer plugin that runs policy plugins is missing. This might occur when the plugin directory is not on your $PATH, or when the installed version of the Pulumi SDK does not support resource policies

Turns out the package is missing the sdk plugin binaries, they are included in the downloaded tar file referenced in the PKGBUILD, but are not added to the package:

for f in {./bin/*,sdk/*/dist/pulumi-*}; do [[ "$f" = *.cmd ]] && continue; echo $f; done
./bin/*
sdk/nodejs/dist/pulumi-analyzer-policy
sdk/nodejs/dist/pulumi-resource-pulumi-nodejs
sdk/python/dist/pulumi-analyzer-policy-python
sdk/python/dist/pulumi-resource-pulumi-python

tldr; please add the missing binaries for full feature parity.
This task depends upon

Closed by  Christian Heusel (gromit)
Thursday, 07 September 2023, 14:27 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#72394 

Loading...