Skip to content

Commit eff282a

Browse files
authored
chore: update aws-iam-policy dependency to v0.4.4 (#169)
Description of changes: aws-iam-policy is a package used to compare Policy documents, ensuring we ignore any whitespace or ordering diff. Address the following failure: https://prow.ack.aws.dev/view/s3/ack-prow-logs/pr-logs/pull/aws-controllers-k8s_runtime/230/iam-controller-test/2029276445519384576 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 5bc2a94 commit eff282a

3 files changed

Lines changed: 7 additions & 11 deletions

File tree

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2026-01-07T18:43:38Z"
3-
build_hash: e743d683160cf0f58a4864e052cdcb0927335ca7
4-
go_version: go1.25.5
5-
version: v0.57.0
2+
build_date: "2026-03-05T19:10:47Z"
3+
build_hash: 35caa24343c4aa5e1cbbaf6de4bec50e1bc863fb
4+
go_version: go1.26.0
5+
version: v0.57.0-15-g35caa24
66
api_directory_checksum: fcb205ac280ed1b0f107a291e5ea43d93c0991e9
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6

go.mod

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/aws/aws-sdk-go-v2/service/iam v1.38.8
1212
github.com/aws/smithy-go v1.22.2
1313
github.com/go-logr/logr v1.4.2
14-
github.com/micahhausler/aws-iam-policy v0.4.2
14+
github.com/micahhausler/aws-iam-policy v0.4.4
1515
github.com/samber/lo v1.37.0
1616
github.com/spf13/pflag v1.0.5
1717
k8s.io/api v0.32.1
@@ -20,10 +20,6 @@ require (
2020
sigs.k8s.io/controller-runtime v0.20.4
2121
)
2222

23-
// Temporary fix for github.com/micahhausler/aws-iam-policy. Awaiting for a-hilaly to send
24-
// a PR to micahhausler/aws-iam-policy to build Equal() method for PolicyDocument struct.
25-
replace github.com/micahhausler/aws-iam-policy => github.com/a-hilaly/aws-iam-policy v0.0.0-20231121054900-2c56e839ca53
26-
2723
require (
2824
github.com/aws/aws-sdk-go-v2/config v1.28.6 // indirect
2925
github.com/aws/aws-sdk-go-v2/credentials v1.17.47 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
github.com/a-hilaly/aws-iam-policy v0.0.0-20231121054900-2c56e839ca53 h1:2uNM0nR2WUDN88EYFxjEaroH+PZJ6k/h9kl+KO0dWVc=
2-
github.com/a-hilaly/aws-iam-policy v0.0.0-20231121054900-2c56e839ca53/go.mod h1:Ojgst9ZFn+VEEJpqtuw/LxVGqEf2+hwWBlkYWvF/XWM=
31
github.com/aws-controllers-k8s/runtime v0.57.0 h1:cFyQtKX5n7m+soh6uVT64B1+SvmGgHfx2pyX39sXsbA=
42
github.com/aws-controllers-k8s/runtime v0.57.0/go.mod h1:OkUJN+Ds799JLYZsMJrO2vDJ4snxUeHK2MgrQHbU+Qc=
53
github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY=
@@ -113,6 +111,8 @@ github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0
113111
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
114112
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
115113
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
114+
github.com/micahhausler/aws-iam-policy v0.4.4 h1:1aMhJ+0CkvUJ8HGN1chX+noXHs8uvGLkD7xIBeYd31c=
115+
github.com/micahhausler/aws-iam-policy v0.4.4/go.mod h1:H+yWljTu4XWJjNJJYgrPUai0AUTGNHc8pumkN57/foI=
116116
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
117117
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
118118
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=

0 commit comments

Comments
 (0)