You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a AutoscalingGroup using the provided manifest. It should include instanceRefresh field.
Make sure the AutoscalingGroup is created and instanceRefresh shows up in status.atProvider
Remove instanceRefresh from the manifest and apply it again.
instanceRefresh is not removed and has previous values.
What happened?
When the LateInitialize is enabled, removing instanceRefresh doesn't update the ASG and gets added back because this is an async operation and spec.atProvider doesn't get updated right away and gets added back by LateInitialize process. I think this field should be added to LateInitialize IgnoreFields.
Relevant Error Output Snippet
No response
Crossplane Version
1.16.0
Provider Version
1.18.2
Kubernetes Version
1.29
Kubernetes Distribution
EKS
Additional Info
No response
The text was updated successfully, but these errors were encountered:
Thank you for your issue report and first contribution in this PR. Could you please elaborate a bit more on the problem you are experiencing when the instanceRefresh field cannot be removed so that we can fully understand the issue?
The issue is that when you create an ASG and configure the instance refresh and later you decide to disable this feature, you need to remove instanceRefresh from your manifest. However, with the LateInitialize management policy enabled it doesn't allow you to do that because the change doesn't get updated in the status right away and LateInitialize adds it back from status.atProvider into spec.forProvider
Thank you for your quick response @r-nasiri 🙌 I understand what you are saying, what I mean is, what is the disadvantage of not being able to remove/delete this field?
Is there an existing issue for this?
Affected Resource(s)
Resource MRs required to reproduce the bug
Steps to Reproduce
instanceRefresh
field.instanceRefresh
shows up instatus.atProvider
instanceRefresh
from the manifest and apply it again.instanceRefresh
is not removed and has previous values.What happened?
When the
LateInitialize
is enabled, removinginstanceRefresh
doesn't update the ASG and gets added back because this is an async operation and spec.atProvider doesn't get updated right away and gets added back by LateInitialize process. I think this field should be added to LateInitialize IgnoreFields.Relevant Error Output Snippet
No response
Crossplane Version
1.16.0
Provider Version
1.18.2
Kubernetes Version
1.29
Kubernetes Distribution
EKS
Additional Info
No response
The text was updated successfully, but these errors were encountered: