Replace deprecated list() and map() functions

Proprietary

In Terraform 0.12+, the list() function is replaced by [...] tuple syntax and the map() function is replaced by {...} object syntax.

org.openrewrite.terraform.terraform012.ReplaceDeprecatedCollectionFunctions
mod run . --recipe=org.openrewrite.terraform.terraform012.ReplaceDeprecatedCollectionFunctions

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.