Skip to content

Update CloudWatch SDK to v1.65.0 - #74

Merged
ack-prow[bot] merged 1 commit into
aws-controllers-k8s:mainfrom
micahhausler:sdk-update
Jul 25, 2026
Merged

Update CloudWatch SDK to v1.65.0#74
ack-prow[bot] merged 1 commit into
aws-controllers-k8s:mainfrom
micahhausler:sdk-update

Conversation

@micahhausler

Copy link
Copy Markdown
Contributor

Bump cloudwatch service models and adds support for evaluationCriteria and evaluationInterval for MetricAlarms

Issue #, if available:

N/A

Description of changes:

I bumped the AWS SDK to support the PromQL and OTEL changes released in April 2026.

This implements @knottnt's comment on #63.

Two things I was unsure about:

  • Tags, as the ACK docs page on how to handle this is currently empty, I went ahead and ignored the PutDashboardInput.Tags field
  • SlidingWindow API docs and User Guide specify that it is an empty object field, so I added it to empty_shapes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow
ack-prow Bot requested review from a-hilaly and knottnt July 24, 2026 21:44
@ack-prow ack-prow Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jul 24, 2026
@ack-prow

ack-prow Bot commented Jul 24, 2026

Copy link
Copy Markdown

Hi @micahhausler. Thanks for your PR.

I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Comment thread config/controller/kustomization.yaml Outdated
Comment thread helm/Chart.yaml Outdated
@gustavodiaz7722

Copy link
Copy Markdown
Member

/ok-to-test

@ack-prow ack-prow Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jul 24, 2026
@gustavodiaz7722

Copy link
Copy Markdown
Member

/label release/minor

@ack-prow ack-prow Bot added the release/minor Indicates this PR should trigger a minor version release on merge. label Jul 24, 2026
Comment thread apis/v1alpha1/ack-generate-metadata.yaml Outdated
Comment thread helm/values.yaml Outdated
Comment thread helm/templates/NOTES.txt Outdated
@gustavodiaz7722

Copy link
Copy Markdown
Member

@micahhausler Nice to have but not required, updating the existing e2e test to exercise these new fields during create and update operations.

@gustavodiaz7722

Copy link
Copy Markdown
Member

Attribution needs updated after this change, if you can take a look at https://github.com/aws-controllers-k8s/ack-dev-skills

It would have context on updating the attribution.

- InsightRule
- ManagedInsightRule
# - MetricStream
field_paths:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fine. It seems like tag support was recently added for this resource in a later sdk version. We can consider tag support for dashboard out of scope for this PR.

ack-prow Bot pushed a commit to aws-controllers-k8s/test-infra that referenced this pull request Jul 24, 2026
The CloudWatch alarm evaluation window fields (EvaluationWindow, WallClockWindow, SlidingWindow) are absent from the botocore model in 1.43.36, so describe_alarms silently drops them and service controller e2e tests cannot assert on them. botocore 1.43.56 includes them.

Issue #, if available:

N/A

Needed for e2e tests in aws-controllers-k8s/cloudwatch-controller#74

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Bump cloudwatch service models and adds support for evaluationCriteria
and evaluationInterval for MetricAlarms

@knottnt knottnt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @micahhausler!
/lgtm

@ack-prow ack-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 25, 2026
@ack-prow

ack-prow Bot commented Jul 25, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: knottnt, micahhausler

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow ack-prow Bot added the approved label Jul 25, 2026
@ack-prow
ack-prow Bot merged commit bb84ad3 into aws-controllers-k8s:main Jul 25, 2026
9 checks passed
ack-prow Bot pushed a commit that referenced this pull request Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release/minor Indicates this PR should trigger a minor version release on merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants