github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/command/testdata/init-012upgrade/main.tf (about)

     1  resource "null_resource" "foo" {
     2    # This construct trips up the HCL2 parser because it looks like a nested block
     3    # but has quoted keys like a map. The upgrade tool would add an equals sign
     4    # here to turn this into a map attribute, but "terraform init" must first
     5    # be able to install the null provider so the upgrade tool can know that
     6    # "triggers" is a map attribute.
     7    triggers {
     8      "foo" = "bar"
     9    }
    10  }