github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/not-internal/configs/testdata/error-files/required-providers-toplevel.tf (about)

     1  # A top-level required_providers block is not valid, but we have a specialized
     2  # error for it to hint the user to move it into a terraform block.
     3  required_providers { # ERROR: Invalid required_providers block
     4  }
     5  
     6  # This one is valid, and what the user should rewrite the above to be like.
     7  terraform {
     8    required_providers {}
     9  }