title: How to print specific values to CLI upon invocation of `pulumi up`?
body: <p>When I invoke <code>pulumi up</code>, I want it to print as part its output - the public IP of the <code>Pulumi.Aws.Ec2.Instance</code> (e.g. <code>Public IP: 1.2.3.4</code>).</p>
  <p>I have this code:</p>
  <pre><code>var server = new Instance(&quot;auto_mc_server&quot;, new InstanceArgs {
      InstanceType = &quot;t2.micro&quot;,
      // ... more stuff ...
  });
  </code></pre>
  <p>I see many questions asking about <code>Output</code>s, so I tried for instance:</p>
  <ol>
  <li><code>Output.Format($&quot;Public IP: {server.PublicIp}&quot;);</code></li>
  <li><code>Output.Create(&quot;public_ip&quot;).Apply(s =&gt; $&quot;Public IP: {server.PublicIp}&quot;);</code></li>
  </ol>
  <p>... and other variations ...</p>
  <p>But nothing gets printed upon <code>pulumi up</code>...</p>