This message was deleted.
# aws
s
This message was deleted.
l
You want to use "my-stream" in place of stream.name? Can you not do that already?
log_group_name=f'aws/kinesisfirehose/my-stream
a
no, i want to use "my-stream-<rand-hash>"
l
The name isn't known at creation time. To achieve this, you would have to set the name yourself. There is a configuration arg "name" that you can pass into the stream constructor.
g
Note there is a difference between
resource_name
and the physical
name
of the resource that gets deployed. By default, Pulumi is trying to help you by generating a physical name from the
resource name
if possible. And also uses
resource_name
as a reference inside the
state
file. As tenwit suggested you can override generated name with passing in your own name via
name=
argument.
a
thanks