-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't upgrade tfbridge to v3.33.0 or higher due to azcore conflict #197
Comments
Having previously made a pull request removing azure-sdk-for-go as a dependency of gocloud.dev, this PR updates the CLI to remove the transitive dependency. Removing the dependency on azure-sdk-for-go reduces module cache weight by 492MiB. That's the apparent size of `~/go/pkg/mod/github.com/!azure` according to a disk usage utility. This makes the new largest targets for reducing size: ``` 258 MiB google.golang.org/[email protected] - required by 250 MiB github.com/aws/[email protected] - required by pulumi/pkg/operations, an experimental function, not used 83 MiB github.com/pierrec/[email protected]+incompatible - required by gocloud.dev/secrets/hashivault 25 MiB github.com/pulumi/pulumi-java ... ``` Returns rapidly diminish with most packages weighing under 1MiB after these. Follow up work ============== I've made an upstream issue with gocloud.dev to migrate off aws-sdk-go@v1: - google/go-cloud#3220 Moving storage backends to plugins would allow us to remove this and many other dependencies from the Pulumi CLI repository and remove conflicts between the Pulumi engine and providers. See: - pulumi/pulumi-vault#197
Having previously made a pull request removing azure-sdk-for-go as a dependency of gocloud.dev, this PR updates the CLI to remove the transitive dependency. Removing the dependency on azure-sdk-for-go reduces module cache weight by 492MiB. That's the apparent size of `~/go/pkg/mod/github.com/!azure` according to a disk usage utility. This makes the new largest targets for reducing size: ``` 258 MiB google.golang.org/[email protected] - required by 250 MiB github.com/aws/[email protected] - required by pulumi/pkg/operations, an experimental function, not used 83 MiB github.com/pierrec/[email protected]+incompatible - required by gocloud.dev/secrets/hashivault 25 MiB github.com/pulumi/pulumi-java ... ``` Returns rapidly diminish with most packages weighing under 1MiB after these. Follow up work ============== I've made an upstream issue with gocloud.dev to migrate off aws-sdk-go@v1: - google/go-cloud#3220 Moving storage backends to plugins would allow us to remove this and many other dependencies from the Pulumi CLI repository and remove conflicts between the Pulumi engine and providers. See: - pulumi/pulumi-vault#197
Having previously made a pull request removing azure-sdk-for-go as a dependency of gocloud.dev, this PR updates the CLI to remove the transitive dependency. Removing the dependency on azure-sdk-for-go reduces module cache weight by 492MiB. That's the apparent size of `~/go/pkg/mod/github.com/!azure` according to a disk usage utility. This makes the new largest targets for reducing size: ``` 258 MiB google.golang.org/[email protected] - required by 250 MiB github.com/aws/[email protected] - required by pulumi/pkg/operations, an experimental function, not used 83 MiB github.com/pierrec/[email protected]+incompatible - required by gocloud.dev/secrets/hashivault 25 MiB github.com/pulumi/pulumi-java ... ``` Returns rapidly diminish with most packages weighing under 1MiB after these. Follow up work ============== I've made an upstream issue with gocloud.dev to migrate off aws-sdk-go@v1: - google/go-cloud#3220 Moving storage backends to plugins would allow us to remove this and many other dependencies from the Pulumi CLI repository and remove conflicts between the Pulumi engine and providers. See: - pulumi/pulumi-vault#197
11963: chore: Update gocloud.dev, removing azure-sdk-for-go dep r=AaronFriel a=AaronFriel Having previously made a pull request removing azure-sdk-for-go as a dependency of gocloud.dev, this PR updates the CLI to remove the transitive dependency. Removing the dependency on azure-sdk-for-go reduces module cache weight by 492MiB. That's the apparent size of `~/go/pkg/mod/github.com/!azure` according to a disk usage utility. This makes the new largest targets for reducing size: ``` 258 MiB google.golang.org/[email protected] - required by 250 MiB github.com/aws/[email protected] - required by pulumi/pkg/operations, an experimental function, not used 83 MiB github.com/pierrec/[email protected]+incompatible - required by gocloud.dev/secrets/hashivault 25 MiB github.com/pulumi/pulumi-java ... ``` Returns rapidly diminish with most packages weighing under 1MiB after these. Follow up work ============== I've made an upstream issue with gocloud.dev to migrate off aws-sdk-go@v1: - google/go-cloud#3220 Moving storage backends to plugins would allow us to remove this and many other dependencies from the Pulumi CLI repository and remove conflicts between the Pulumi engine and providers. See: - pulumi/pulumi-vault#197 Co-authored-by: Aaron Friel <[email protected]>
encountered this in pulumi-consul as well, but for the |
I've bumped into this today again and tried a few resolutions. Unfortunately upstream provider is very much behind the latest Azure SDKs.
I've tried upgrading the provider on our end, that is possible, azureAccessCredentialsDataSourceRead function needs to be rewritten against new Azure SDK APIs, that looked like a day of work with testing, not entirely trivial. The other way to solve this is if we could get a form of pulumi/pulumi#12139 The source of the conflict now is a diamond dependency where we are inheriting one version of azcore through upstream, and another version of azcore through a transitive dependency to pulumi filestate, which is coupled to pulumi/pkg dependency, but is not really in use for this project. Breaking that cycle somehow so that bridge and bridged providers do not pull in ascore dependency would pave a way forward and be generally beneficial. |
Due to pulumi/pulumi-vault#197, pulumi-vault cannot currently benefit from automation per this repository. Putting it in a separate folder to await the resolution of the blocking issue and avoid noise and spurious p1s caused by attempts to upgrade the bridge. Upstream upgrades will continue to run automatically as per current state of pulumi-vault's Workflow files.
Due to pulumi/pulumi-vault#197, pulumi-vault cannot currently benefit from automation per this repository. Putting it in a separate folder to await the resolution of the blocking issue and avoid noise and spurious p1s caused by attempts to upgrade the bridge. Upstream upgrades will continue to run automatically as per current state of pulumi-vault's Workflow files. Resolution for pulumi/pulumi-vault#310.
What happened?
This is a follow-up from #192 for which a workaround was added in #196. However, we are currently blocked from taking a new version of the bridge because updating pulumi-terraform-bridge to v3.33.0 causes a build failure:
The underlying issue seems to be because of these updates (going from tfbridge 3.32.0 to 3.33.0):
This is because of the bump of pulumi/pkg etc. to
v3.44.2
which brought in new versions of the above package in pulumi/pulumi#10900.Vault terraform provider is still using the older versions of the above libraries which causes the conflict.
Steps to reproduce
Expected Behavior
Build succeeds
Actual Behavior
Build fails
Output of
pulumi about
No response
Additional context
No response
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: