mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 02:20:07 -04:00
* feat: Make validate command detect when an unknown backend type is in use. * feat: Make validate command detect when the backend configuration doesn't match the schema. * fix: Stop suppressing the Required:true parts of the backend schema when validating backend blocks * test: Add test showing validation fails when a required attribute is missing from a backend's config
9 lines
278 B
HCL
9 lines
278 B
HCL
terraform {
|
|
backend "gcs" {
|
|
# Missing required attribute "bucket"
|
|
#
|
|
# Everything else is missing as well, but this
|
|
# test fixture is intended for use testing the validate command,
|
|
# which is offline only. So lack of credentials etc is not a problem.
|
|
}
|
|
}
|