Closed t0yv0 closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 61.21%. Comparing base (
7677b6e
) to head (deb0028
). Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Empty lists and sets affected equally to maps. Not affected curiously if the attribute is Computed :) CC @VenelinMartinov
We wrapped this investigation up in https://github.com/pulumi/pulumi-terraform-bridge/pull/2065
Noticing that rolling out PlanResourceChange to AWS causes dirty refreshes of the form where "tags" are changing from "null" to "{}".
It appears that what's changed is actually how Creates work, that is {} from Read is fine but null from Create is not. Before PRC we would have Create return
tags: {}
, but after PRC it returnstags: null
instead on a program that does not set tags at all.Still investigating... it appears that AWS provider does set tags to the empty map but they proceed to disappear in normalizeNullValues:
This behavior seems to match TF but in the case of TF this form of dirty refresh is invisible and subsequent terraform apply calls remove the problem.