Difference between revisions of "Terraform: list type"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
* <code>[[slice]]</code> [[terraform function]] | * <code>[[slice]]</code> [[terraform function]] | ||
* [[Terraform object]] | * [[Terraform object]] | ||
− | + | * <code>[[ The error was: list object has no element]]</code> | |
== See also == | == See also == |
Revision as of 13:39, 31 January 2023
Terraform wikipedia:List (abstract data type) or tuple.
type = list(string)
default = []
["us-west-1a", "us-west-1c"]
Related terms
- Terraform plan errors:
List of string required
requires_compatibilities
variables.tf
- Terraform function:
tolist([...])
- Terraform function: element
list
function is deprecated since Terraform v0.12 (May 2019).slice
terraform function- Terraform object
The error was: list object has no element
See also
Advertising: