github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/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 }