Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ec2): Update launchtemplate status #1937

Merged

Conversation

MisterMX
Copy link
Collaborator

@MisterMX MisterMX commented Nov 7, 2023

Description of your changes

Adds a step to postObserve to fill status.atProvider with the values received from DescribeLaunchTemplates.

Fixes #1936

This is kind of a hotfix to this solve the issue. The controller is still incomplete by missing an implementation for isUpToDate. There are also some fields in the status (like tags) that should not be there and better belong in the spec.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Unit tests

Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <maximilian.blatt-extern@deutschebahn.com>
@MisterMX MisterMX requested a review from chlunde November 7, 2023 11:31
@MisterMX MisterMX force-pushed the fix/ec2-launchtemplate-status branch from ac6c503 to 0d10c8d Compare November 7, 2023 12:39
@MisterMX MisterMX merged commit 01b886b into crossplane-contrib:master Nov 7, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LaunchTemplate does not populate status.atProvider
2 participants