-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update gocloud.dev, removing azure-sdk-for-go dep
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
- Loading branch information
1 parent
8f09798
commit 30548c9
Showing
5 changed files
with
1,367 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.