PR feedback
This commit is contained in:
parent
fcdc3495a4
commit
55df0cc201
1 changed files with 6 additions and 0 deletions
|
@ -601,6 +601,12 @@ func printPropertyValue(
|
||||||
write(b, op, "archive(uri:%s) { %v }", shortHash(a.Hash), a.URI)
|
write(b, op, "archive(uri:%s) { %v }", shortHash(a.Hash), a.URI)
|
||||||
}
|
}
|
||||||
} else if v.IsComputed() || v.IsOutput() {
|
} else if v.IsComputed() || v.IsOutput() {
|
||||||
|
// We render computed and output values differently depending on whether or not we are planning or deploying:
|
||||||
|
// in the former case, we display `computed<type>` or `output<type>`; in the former we display `undefined`.
|
||||||
|
// This is because we currently cannot distinguish between user-supplied undefined values and input properties
|
||||||
|
// that are undefined because they were sourced from undefined values in other resources' output properties.
|
||||||
|
// Once we have richer information about the dataflow between resources, we should be able to do a better job
|
||||||
|
// here (pulumi/pulumi#234).
|
||||||
if planning {
|
if planning {
|
||||||
writeVerbatim(b, op, v.TypeString())
|
writeVerbatim(b, op, v.TypeString())
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue