terraform-cdk
terraform-cdk copied to clipboard
Improve documentation / samples for using count with data sources
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Currently using count to support values that are only known by consulting a data source requires a bunch of complicated overrides. Hopefully that can be improved in the future, but in the meantime, we can improve documentation / samples.
References
https://discuss.hashicorp.com/t/how-to-access-data-list-attribute-with-python-within-resource/38115/10