avi_vsvip
always detecting changes when utilizing auto_allocate_ip = true
#607
Labels
avi_vsvip
always detecting changes when utilizing auto_allocate_ip = true
#607
Describe the bug
We are attempting to leverage the
avi_vsvip
resource to auto-allocate an IP with an IPAM network subnet and while it works successfully, we're hitting an issue where subsequent executions are detecting changes due to the READ operation pulling back more details than what was initially provided.Reproduction steps
Expected behavior
The detection of TF defined configuration vs what is pulled back from the API should be a bit more intelligent to know that it doesn't have to take action.
This might be what DiffSuppressFunc should be leveraged for. It could potentially have custom logic for the resource to know that if
auto_allocate_ip = true
is set, then automatically ignore the additional details that are coming back from the API when determining if it needs to take action.Additional context
As a workaround for now, I have the following lifecycle block defined, though that's not ideal if we ever had to modify that value in the TF configuration.
The text was updated successfully, but these errors were encountered: