🌍 HCL (Terraform)easy
2. Attribute types
Write these four top-level attributes with the RIGHT types (no block needed): • name — the string "web" • count — the number 3 • enabled — the boolean true • ratio — the number 1.5
How to approach this
Like JSON, HCL distinguishes types: strings are double-quoted, but numbers (3, 1.5) and booleans (true/false) are written bare — no quotes. Quoting a number ("3") makes it a string, which many resource arguments will reject. Each attribute goes on its own line as `name = value`.
main.tf