Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
small update
Browse files Browse the repository at this point in the history
  • Loading branch information
toriancrane committed Apr 8, 2024
1 parent 99e59fd commit 30c7f21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ The result of the call to {{< pulumi-apply >}} is a new Output<T>, meaning the `
#### Using string interpolation
There is an easier way to generate a concatenated string value using an output, and that is by using interpolation. Pulumi exposes interpolation helpers that enables you to create strings that contain outputs. These interpolation methods wrap [apply](/docs/concepts/inputs-outputs/apply/) and [all](/docs/concepts/inputs-outputs/all/) with an interface that resembles your language's native string formatting functions. The example below demonstrates how to create a URL from the hostname and port output values of a web server.
There is an easier way to generate a concatenated string value using an output, and that is by using interpolation. Pulumi exposes interpolation helpers that enables you to create strings that contain outputs. These interpolation methods wrap [apply](/docs/concepts/inputs-outputs/apply/) and [all](/docs/concepts/inputs-outputs/all/) with an interface that resembles your language's native string formatting functions. The example below demonstrates how to create a URL from the hostname and port output values of a web server.
{{< example-program path="aws-s3bucket-bucketobject-interpolate" >}}
Expand Down

0 comments on commit 30c7f21

Please sign in to comment.