terraform/website/docs/configuration
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
..
functions lang/funcs: Add "alltrue" function (#25656) 2020-09-22 09:06:42 -04:00
attr-as-blocks.html.md Minor spelling fixes 2019-06-13 15:36:14 +01:00
backend.html.md website: Configuration Language navigation refactoring 2020-06-18 09:31:52 -07:00
data-sources.html.md website: Adding a note around data-sources and depends_on for 0.12 users (#26222) 2020-09-11 15:16:05 -03:00
expressions.html.md Correct annotation in expressions.html 2020-08-14 16:33:54 -04:00
functions.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
index.html.md website: Add links to relevant Learn guides in several docs pages (#25718) 2020-07-31 13:16:35 -07:00
locals.html.md website: Clarify `locals` vs. `local.thing` distinction 2020-09-02 14:31:19 -07:00
modules.html.md style(providers): update syntax for terraform >= 0.11 2020-09-01 10:38:18 +07:00
outputs.html.md Update outputs.html.md 2019-12-17 07:33:11 -05:00
override.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
provider-requirements.html.md website/docs: provider source related clarifications 2020-08-26 13:50:07 -04:00
providers.html.md configs: deprecate version argument inside provider configuration blocks (#26135) 2020-09-08 08:19:00 -04:00
resources.html.md website: Add links to relevant Learn guides in several docs pages (#25718) 2020-07-31 13:16:35 -07:00
style.html.md website: Version notes: Add new -> old links to 0.12 language docs (except function pages) 2019-02-01 17:20:54 -08:00
syntax-json.html.md website/docs: provider aliases in the JSON format 2020-05-13 15:52:26 +02:00
syntax.html.md Fix link in syntax docs 2019-10-24 11:57:08 -04:00
terraform-enterprise.html.md Remove links to legacy Terraform Enterprise docs 2019-06-07 13:47:12 -04:00
terraform.html.md Website: 0.13 docs edits, mostly around provider requirements (#25686) 2020-07-30 21:07:36 -07:00
types.html.md Update maps docs to reflect v0.12 colon behavior 2020-04-26 17:52:08 -06:00
variables.html.md website: Fix copy-paste error 2020-09-02 14:57:06 -07:00
version-constraints.html.md website: Configuration Language navigation refactoring 2020-06-18 09:31:52 -07:00