Skip to content

Commit 950057b

Browse files
authored
Upgrade aws v7 (#1812)
The only breaking change apart from the aws v7 upgrade is the removal of the `defaultAddonsToRemove` field. This has been replaced in the `aws` provider with the `bootstrapSelfManagedAddons` field. This has no affect on existing users, it only changes how new clusters might be created. fixes #1763
1 parent 7b72ddc commit 950057b

File tree

71 files changed

+608
-847
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+608
-847
lines changed

.ci-mgmt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
provider: eks
22
aws: true
33
install-kubectl: true
4-
major-version: 3
4+
major-version: 4
55
template: generic
66
test-folder: tests
77

.github/actions/setup-tools/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747

4848
- name: Install Pulumi CLI
4949
if: inputs.tools == 'all' || contains(inputs.tools, 'pulumicli')
50-
uses: pulumi/actions@df5a93ad715135263c732ba288301bd044c383c0 # v6
50+
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6
5151
with:
5252
pulumi-version: "dev"
5353

.github/workflows/prerequisites.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- uses: pulumi/provider-version-action@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
6262
id: provider-version
6363
with:
64-
major-version: 3
64+
major-version: 4
6565
set-env: 'PROVIDER_VERSION'
6666
- name: Cache examples generation
6767
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- name: Upload Provider Binaries
115115
run: aws s3 cp dist s3://get.pulumi.com/releases/plugins/ --recursive
116116
- name: Create GH Release
117-
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2
117+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2
118118
if: inputs.isPrerelease == false
119119
with:
120120
tag_name: v${{ inputs.version }}
@@ -146,13 +146,13 @@ jobs:
146146
cache-go: false
147147
- name: Publish SDKs
148148
if: inputs.skipJavaSdk == false
149-
uses: pulumi/pulumi-package-publisher@696a0fe98f86d86ada2a842d1859f3e8c40d6cd7 # v0.0.21
149+
uses: pulumi/pulumi-package-publisher@c1672c7928591d563dccb12729e05e315c21f8c2 # v0.0.22
150150
with:
151151
sdk: all
152152
version: ${{ inputs.version }}
153153
- name: Publish SDKs (except Java)
154154
if: inputs.skipJavaSdk == true
155-
uses: pulumi/pulumi-package-publisher@696a0fe98f86d86ada2a842d1859f3e8c40d6cd7 # v0.0.21
155+
uses: pulumi/pulumi-package-publisher@c1672c7928591d563dccb12729e05e315c21f8c2 # v0.0.22
156156
with:
157157
sdk: all,!java
158158
version: ${{ inputs.version }}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
PACK := eks
44
ORG := pulumi
55
PROJECT := github.com/$(ORG)/pulumi-$(PACK)
6-
PROVIDER_PATH := provider/v3
6+
PROVIDER_PATH := provider/v4
77
VERSION_PATH := $(PROVIDER_PATH)/pkg/version.Version
88
CODEGEN := pulumi-gen-$(PACK)
99
PROVIDER := pulumi-resource-$(PACK)
@@ -17,7 +17,7 @@ PULUMI_MISSING_DOCS_ERROR := false
1717

1818
# Override during CI using `make [TARGET] PROVIDER_VERSION=""` or by setting a PROVIDER_VERSION environment variable
1919
# Local & branch builds will just used this fixed default version unless specified
20-
PROVIDER_VERSION ?= 3.0.0-alpha.0+dev
20+
PROVIDER_VERSION ?= 4.0.0-alpha.0+dev
2121

2222
# Check version doesn't start with a "v" - this is a common mistake
2323
ifeq ($(shell echo $(PROVIDER_VERSION) | cut -c1),v)

examples/aws-go-eks-helloworld/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ require (
88
github.com/pulumi/pulumi/sdk/v3 v3.144.1
99
)
1010

11-
replace github.com/pulumi/pulumi-eks/sdk/v3 => ../../sdk
12-
1311
require (
1412
dario.cat/mergo v1.0.0 // indirect
1513
github.com/BurntSushi/toml v1.2.1 // indirect

examples/aws-profile-role/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@types/node": "latest"
66
},
77
"dependencies": {
8-
"@pulumi/aws": "6.66.1",
8+
"@pulumi/aws": "7.0.0",
99
"@pulumi/awsx": "2.19.0",
1010
"@pulumi/kubernetes": "4.19.0",
1111
"@pulumi/eks": "latest"

examples/cluster-cs/Cluster.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Pulumi.Aws" Version="6.*" />
10+
<PackageReference Include="Pulumi.Aws" Version="7.*" />
1111
<PackageReference Include="Pulumi.Awsx" Version="1.*" />
1212
</ItemGroup>
1313

examples/cluster-go/step1/go.mod

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
module github.com/pulumi/pulumi-eks/examples/cluster-go
22

3-
go 1.21.12
3+
go 1.23.0
44

5-
toolchain go1.23.1
5+
toolchain go1.24.1
66

77
require (
8-
github.com/pulumi/pulumi-aws/sdk/v6 v6.66.1
9-
github.com/pulumi/pulumi-eks/sdk/v3 v3.6.0
10-
github.com/pulumi/pulumi/sdk/v3 v3.144.1
8+
github.com/pulumi/pulumi-aws/sdk/v7 v7.1.0
9+
github.com/pulumi/pulumi-eks/sdk/v4 v4.0.0
10+
github.com/pulumi/pulumi/sdk/v3 v3.175.0
1111
)
1212

13-
replace github.com/pulumi/pulumi-eks/sdk/v3 => ../../../sdk
13+
replace github.com/pulumi/pulumi-eks/sdk/v4 => ../../../sdk
1414

1515
require (
1616
dario.cat/mergo v1.0.0 // indirect
@@ -29,20 +29,20 @@ require (
2929
github.com/cheggaaa/pb v1.0.29 // indirect
3030
github.com/cloudflare/circl v1.3.7 // indirect
3131
github.com/containerd/console v1.0.4 // indirect
32-
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
32+
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
3333
github.com/djherbis/times v1.6.0 // indirect
3434
github.com/emirpasic/gods v1.18.1 // indirect
3535
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
36-
github.com/go-git/go-billy/v5 v5.6.0 // indirect
37-
github.com/go-git/go-git/v5 v5.13.0 // indirect
36+
github.com/go-git/go-billy/v5 v5.6.1 // indirect
37+
github.com/go-git/go-git/v5 v5.13.1 // indirect
3838
github.com/gogo/protobuf v1.3.2 // indirect
3939
github.com/golang/glog v1.2.4 // indirect
4040
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
4141
github.com/google/uuid v1.6.0 // indirect
4242
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
4343
github.com/hashicorp/errwrap v1.1.0 // indirect
4444
github.com/hashicorp/go-multierror v1.1.1 // indirect
45-
github.com/hashicorp/hcl/v2 v2.20.1 // indirect
45+
github.com/hashicorp/hcl/v2 v2.22.0 // indirect
4646
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4747
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
4848
github.com/kevinburke/ssh_config v1.2.0 // indirect
@@ -63,7 +63,7 @@ require (
6363
github.com/pkg/errors v0.9.1 // indirect
6464
github.com/pkg/term v1.1.0 // indirect
6565
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
66-
github.com/pulumi/esc v0.9.1 // indirect
66+
github.com/pulumi/esc v0.14.2 // indirect
6767
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.9.1 // indirect
6868
github.com/rivo/uniseg v0.4.7 // indirect
6969
github.com/rogpeppe/go-internal v1.12.0 // indirect
@@ -80,18 +80,18 @@ require (
8080
github.com/xanzy/ssh-agent v0.3.3 // indirect
8181
github.com/zclconf/go-cty v1.14.4 // indirect
8282
go.uber.org/atomic v1.11.0 // indirect
83-
golang.org/x/crypto v0.32.0 // indirect
83+
golang.org/x/crypto v0.37.0 // indirect
8484
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
8585
golang.org/x/mod v0.19.0 // indirect
86-
golang.org/x/net v0.34.0 // indirect
87-
golang.org/x/sync v0.10.0 // indirect
88-
golang.org/x/sys v0.29.0 // indirect
89-
golang.org/x/term v0.28.0 // indirect
90-
golang.org/x/text v0.21.0 // indirect
86+
golang.org/x/net v0.39.0 // indirect
87+
golang.org/x/sync v0.13.0 // indirect
88+
golang.org/x/sys v0.32.0 // indirect
89+
golang.org/x/term v0.31.0 // indirect
90+
golang.org/x/text v0.24.0 // indirect
9191
golang.org/x/tools v0.23.0 // indirect
92-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
93-
google.golang.org/grpc v1.63.2 // indirect
94-
google.golang.org/protobuf v1.34.0 // indirect
92+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
93+
google.golang.org/grpc v1.67.1 // indirect
94+
google.golang.org/protobuf v1.36.6 // indirect
9595
gopkg.in/warnings.v0 v0.1.2 // indirect
9696
gopkg.in/yaml.v3 v3.0.1 // indirect
9797
lukechampine.com/frand v1.4.2 // indirect

0 commit comments

Comments
 (0)