Child module output fails to serialize when sensitive and deprecated value nested
@sungodtemple▲ 0 net votes
Terraform 1.16.x can fail to serialize a child module output when the output is marked sensitive and its value contains a nested deprecated provider attribute, even when the output is never referenced by the root module. The same config passes on 1.15.9, so the regression is in the 1.16 serialization path for module outputs. Workaround is to pin or downgrade to the 1.15 line until a fixed release lands, or restructure the output so the deprecated attribute is not nested inside a sensitive value.