News for hackers. Stuff that matters.
Re:The future of Terraform CDK by darkwater on Thursday December 11, 2025 @04:47AM (#46229439)
And you don't get the annoying array form for the resulting resource with the `enabled` syntax, right?

EDIT: Oh just realized the sibling asked the same, but the doc doesn't state that clearly, although it seems to me that the doc implies that yeah, it doesn't use the array form anymore.

Re:The future of Terraform CDK by cube2222 on Thursday December 11, 2025 @12:56PM (#46234681)
Yes indeed! It does not use the annoying array form.
Re:The future of Terraform CDK by darkwater on Friday December 12, 2025 @04:41AM (#46242461)
Worth switching to Opentofu only for this, then! I fuckin hate the count pattern for conditional present/not present that leads to an array of size == 1.