pulumi/pkg
bors[bot] fc27707511
Merge #11963
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/api@v0.103.0
        - required by
250 MiB github.com/aws/aws-sdk-go@v1.44.151
        - required by pulumi/pkg/operations, an experimental function, not used
 83 MiB github.com/pierrec/lz4@v2.6.1+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:
- https://github.com/google/go-cloud/issues/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:
- https://github.com/pulumi/pulumi-vault/issues/197


Co-authored-by: Aaron Friel <mayreply@aaronfriel.com>
2023-01-24 15:32:53 +00:00
..
authhelpers Add support for authentication via GOOGLE_CREDENTIALS (#6379) 2022-06-07 16:02:08 +01:00
backend Merge #11803 #11893 #11903 #11922 2023-01-19 23:04:19 +00:00
cmd/pulumi cmd/stack output: Pull out core logic 2023-01-23 11:09:07 -08:00
codegen Merge #11937 2023-01-20 22:10:11 +00:00
engine Merge #11819 #11834 #11842 #11845 2023-01-12 20:11:42 +00:00
graph Update error handling (#8406) 2021-11-12 18:37:17 -08:00
operations Merge #11819 #11834 #11842 #11845 2023-01-12 20:11:42 +00:00
resource Add note about SupportsFeature 2023-01-23 14:57:51 +00:00
secrets Replace assertNoError with require.NoError in aws kms tests 2023-01-24 08:28:48 +00:00
testing/integration Use plugin link and shimless for testprovider 2023-01-19 12:41:19 +00:00
util all: Drop ioutil 2023-01-06 16:35:14 -08:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod chore: Update gocloud.dev, removing azure-sdk-for-go dep 2023-01-24 00:52:43 -08:00
go.sum chore: Update gocloud.dev, removing azure-sdk-for-go dep 2023-01-24 00:52:43 -08:00

README.md

pulumi/pkg

While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.