GCE: TargetPool should ignore Lifecycle field

It's an internal field, it shouldn't be detected as a change to apply.
This commit is contained in:
Justin SB 2021-07-30 14:56:20 +00:00
parent 8d0b2d3773
commit 912e28d95a
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ func (e *TargetPool) Find(c *fi.Context) (*TargetPool, error) {
actual := &TargetPool{}
actual.Name = fi.String(r.Name)
// Avoid spurious changes
actual.Lifecycle = e.Lifecycle
return actual, nil
}