Skip to content

Commit

Permalink
reset yaml_body_parsed and yaml_incluster to prevent inconsistent pla…
Browse files Browse the repository at this point in the history
…nning (#198)
  • Loading branch information
zenobios authored Nov 25, 2024
1 parent 7c00d99 commit 717e1cc
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 @@ -220,6 +220,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 717e1cc

Please sign in to comment.