Skip to content

Conversation

michaelhtm
Copy link
Member

Issue #1709

Description of changes:

  • Add InvalidInstanceID.NotFound error code for 404 exceptions
  • Implement instance state handling and requeue logic
  • Add support for modifying instance attributes (security groups, API termination, etc.)
  • Add helper functions for instance state checks and field updates
  • Update E2E tests to verify instance updates and security group modifications
  • Set additional fields like SecurityGroupIDs and Monitoring in instance spec
  • Improve instance syncing and status conditions

This commit enhances the EC2 instance resource controller by adding better error handling,
state management, and support for modifying various instance attributes. It also includes
improvements to E2E tests and resource syncing.

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 September 25, 2025 00:10
Copy link

ack-prow bot commented Sep 25, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: michaelhtm

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

The pull request process is described here

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 Sep 25, 2025
@a-hilaly
Copy link
Member

/retest

Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

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

Thank you @michaelhtm !

@michaelhtm
Copy link
Member Author

/test ec2-kind-e2e

@michaelhtm michaelhtm force-pushed the feat/supportinstanceupdates branch from 3c9182e to a77e1ad Compare September 25, 2025 17:52
@michaelhtm
Copy link
Member Author

/test ec2-unit-test

@michaelhtm michaelhtm force-pushed the feat/supportinstanceupdates branch from a77e1ad to 60d4776 Compare September 25, 2025 19:27
@michaelhtm
Copy link
Member Author

/test ec2-kind-e2e

@michaelhtm
Copy link
Member Author

/retest

- Add InvalidInstanceID.NotFound error code for 404 exceptions
- Implement instance state handling and requeue logic
- Add support for modifying instance attributes (security groups, API termination, etc.)
- Add helper functions for instance state checks and field updates
- Update E2E tests to verify instance updates and security group modifications
- Set additional fields like SecurityGroupIDs and Monitoring in instance spec
- Improve instance syncing and status conditions

This commit enhances the EC2 instance resource controller by adding better error handling,
state management, and support for modifying various instance attributes. It also includes
improvements to E2E tests and resource syncing.
@michaelhtm michaelhtm force-pushed the feat/supportinstanceupdates branch from 60d4776 to 6973e9c Compare September 26, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants