sparse-intern-71089
07/28/2021, 5:12 AMlittle-cartoon-10569
07/28/2021, 5:17 AMlittle-cartoon-10569
07/28/2021, 5:18 AMlittle-cartoon-10569
07/28/2021, 5:18 AMpulumi import
will create snippets but it's up to you to put those in your pulumi program. And what you're describing won't do that.kind-cpu-30872
07/28/2021, 5:29 AMkind-cpu-30872
07/28/2021, 5:34 AMTABLES = (
"I don't know all of these tables.",
"But if I just query my infrastructure and put them into a list.",
"I'll be fine, the below already works.",
)
for table in TABLES:
tbl = aws.dynamodb.Table.get(id=table, resource_name=table, )
stream_destination = aws.dynamodb.KinesisStreamingDestination(f"{table}-stream", stream_arn=stream.arn, table_name=tbl.name)
billowy-army-68599
kind-cpu-30872
07/28/2021, 6:01 AMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by