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 AM