Terraform Doesn't Ignore Data Source Errors
Open
- Dominant language
- HTML
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
TL;DR: The workaround for overriding data sources failing to resolve the AMIs by using coalesce() doesn't actually work if the data source query fails.
Will probably have to implement something using `count` to work around this correctly: https://www.reddit.com/r/Terraform/comments/hvde36/is_an_empty_data_source_possible/fywbcc3/?utm_source=reddit&utm_medium=web2x&context=3
Contributor guide
Assessment
This issue has not been assessed yet.