terraform/website
Arthur Burkart 6ed47c7241
lang/funcs: Add "alltrue" function (#25656)
This commit adds an `alltrue` function to Terraform configuration. A
reason we might want this function is because it will enable more
powerful custom variable validations. For example:

```hcl
variable "amis" {
  type = list(object({
    id = string
  }))

  validation {
    condition = (alltrue([
      for a in var.amis : length(a.id) > 4 && substr(a.id, 0, 4) == "ami-"
    ]))
    error_message = "The ID of at least one AMI was invalid."
  }
}
```
2020-09-22 09:06:42 -04:00
..
docs lang/funcs: Add "alltrue" function (#25656) 2020-09-22 09:06:42 -04:00
guides Update website/guides/terraform-provider-development-program.html.md 2020-08-10 12:08:42 -07:00
intro website: Remove extra copy of "Getting Started", update links 2020-02-05 14:58:30 -08:00
layouts lang/funcs: Add "alltrue" function (#25656) 2020-09-22 09:06:42 -04:00
upgrade-guides website: Update 0.13 upgrade for legacy providers 2020-09-01 14:02:19 -04:00
README.md website: A note about where the root parts of the website live now 2017-06-27 14:40:13 -07:00

README.md

Terraform Documentation

This directory contains the portions of the Terraform website that pertain to the core functionality, excluding providers and the overall configuration.

The files in this directory are intended to be used in conjunction with the terraform-website repository, which brings all of the different documentation sources together and contains the scripts for testing and building the site as a whole.