clong / clong/DetectionLab

Terraform Doesn't Ignore Data Source Errors

Open
#652 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.