Skip to content

Commit fab818a

Browse files
authored
fix: add late_initialize for SqsManagedSseEnabled to prevent drift (#107)
Description of changes: AWS defaults SQS managed SSE to enabled. Without late_initialize, the controller detects a false delta (nil vs "true") and triggers unnecessary reconciliation loops. Resolves aws-controllers-k8s/community#2695 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 151e443 commit fab818a

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2026-06-22T23:06:54Z"
2+
build_date: "2026-06-26T00:26:14Z"
33
build_hash: 2ae5d2cfadaa2a10b2ccb9e73a111b2a91c36642
44
go_version: go1.26.4
55
version: v0.60.0
66
api_directory_checksum: 20f261849ce937cddcec136053077c5999094bc2
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.34.0
99
generator_config_info:
10-
file_checksum: 77d7206f043ebf543b41b292a2a3e4ef148c33b1
10+
file_checksum: ac1aa90c7cb9112eecc0314ddca196e4e7369d75
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ resources:
7575
SqsManagedSseEnabled:
7676
is_attribute: true
7777
type: string
78+
late_initialize:
79+
skip_incomplete_check: {}
7880
Policy:
7981
is_iam_policy: true
8082
is_attribute: true

generator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ resources:
7575
SqsManagedSseEnabled:
7676
is_attribute: true
7777
type: string
78+
late_initialize:
79+
skip_incomplete_check: {}
7880
Policy:
7981
is_iam_policy: true
8082
is_attribute: true

pkg/resource/queue/manager.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)