Editing Terraform types
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
== Types == | == Types == | ||
− | * <code> | + | * <code>string</code>: a sequence of Unicode characters representing some text, like "hello". |
− | * <code> | + | * <code>number</code>: a numeric value. The number type can represent both whole numbers like 15 and fractional values like 6.283185. |
− | * <code>[[bool]]</code>: a boolean value, either | + | * <code>[[bool]]</code>: a boolean value, either true or false. bool values can be used in conditional logic. |
* <code>[[Terraform: list type|list]]</code> or <code>[[tuple]]</code>: a sequence of values, like <code>["us-west-1a", "us-west-1c"]</code>. Elements in a list or tuple are identified by consecutive whole numbers, starting with zero. | * <code>[[Terraform: list type|list]]</code> or <code>[[tuple]]</code>: a sequence of values, like <code>["us-west-1a", "us-west-1c"]</code>. Elements in a list or tuple are identified by consecutive whole numbers, starting with zero. | ||
− | * <code>[[ | + | * <code>[[map]]</code> or <code>object</code>: a group of values identified by named labels, like <code>{name = "Mabel", age = 52}</code>. |
== Examples == | == Examples == | ||
Line 47: | Line 47: | ||
} | } | ||
− | == | + | == Related terms == |
− | * Terraform | + | * [[variable]]: [[Terraform variable types]] |
+ | * Error: [[List of object required]] | ||
* Error: [[Element 0: object required]] | * Error: [[Element 0: object required]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{Terraform types}} | * {{Terraform types}} | ||
− | * {{Terraform | + | * {{terraform aws resources}} |
+ | * {{Terraform}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Advertising: