Closed paymog closed 2 years ago
Hi there:
We use GitHub issues for tracking bugs and enhancements, rather than for questions. While we can sometimes help with certain simple problems here, it's better to use the community forum where there are more people ready to help.
Thanks!
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
cdktf & Language Versions
0.12 - typescript
This is more of a how to question. The docs for iterators demonstrate how to create several s3 buckets:
How can I then iterate over all of these s3 buckets? As a contrived example, suppose I want to create an EC2 instance for each bucket and pass the bucket ID as an environment variable to it's respective EC2 instance, how can I do that? From what I can tell,
s3Bucket
itself isn't iterable, does it expose a property that allows users to iterate?EDIT: to give a more concrete example of what I'm facing right now, I create a number of subnets like so:
and now I want to make a route table association
but I'm not sure how to add the ID of each subnet in
priv_subnet
toawsRouteTableAssociationPrivate