for_each and splat · Issue #22476 · hashicorp/terraform

Using for_each with a map in resources results in a weird behaviour: Input: provider "aws" { version = "~> 2" } resource "aws_eip" "this" { for_each = { "a": 1, "b": 2, } } output "eips" { descript...