Difference between revisions of "Terraform: list type"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
* <code>["us-west-1a", "us-west-1c"]</code> | * <code>["us-west-1a", "us-west-1c"]</code> | ||
− | ==Related terms== | + | == Related terms == |
* [[Terraform plan errors]]: <code>[[List of string required]]</code> | * [[Terraform plan errors]]: <code>[[List of string required]]</code> | ||
* <code>[[requires_compatibilities]]</code> | * <code>[[requires_compatibilities]]</code> | ||
Line 17: | Line 17: | ||
* <code>[[slice]]</code> [[terraform function]] | * <code>[[slice]]</code> [[terraform function]] | ||
* [[Terraform object]] | * [[Terraform object]] | ||
+ | [[ The error was: list object has no element]] | ||
== See also == | == See also == |
Revision as of 13:45, 17 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([...])
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: