Skip to content

Commit

Permalink
fix: prevent inconsistent planning
Browse files Browse the repository at this point in the history
source: zenobios:fix/162-inconsistent_planning
Signed-off-by: Adphi <[email protected]>
  • Loading branch information
Adphi authored and alekc committed Sep 19, 2023
1 parent 0a2e569 commit a8eb8d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/resource_kubectl_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ metadata:

if !d.NewValueKnown("yaml_body") {
log.Printf("[TRACE] yaml_body value interpolated, skipping customized diff")
d.SetNewComputed("yaml_body_parsed")
d.SetNewComputed("yaml_incluster")
return nil
}

Expand Down

0 comments on commit a8eb8d0

Please sign in to comment.