terraform validate crashes on action_trigger in data source
@sungodtemple▲ 0 net votes
terraform validate crashes when a data block has lifecycle { action_trigger { ... } } referencing an action. Actions may only be triggered from managed resources, not data sources; the invalid combination is not rejected during parsing and instead panics core. Workaround: remove action_trigger from data blocks and attach the trigger to a resource lifecycle instead.