Overriding an initProvider
list in forProvider
after the resource is created may cause an update loop
#303
Labels
Milestone
What happened?
This is a known issue of Upjet v1.0.0. An infinite update loop occurs when the following conditions hold at the same time:
initProvider
field of typeschema.TypeList
, such asprivate_ip_list
,forProvider
,The problem stems from the fact that length keys are deleted from diffs of
initProvider
-exclusive fields. Details are explained in comments.I have developed a work-in-progress potential solution, which has neither been tested in depth nor reviewed.
How can we reproduce it?
We will create a VPC Network Interface to reproduce the issue. Because the resource depends on a VPC Subnet, which in-turn depends on a VPC, we will first create those.
Related Issues
#298 (duplicate of crossplane-contrib/provider-upjet-aws#946), #295, #299
The text was updated successfully, but these errors were encountered: