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>[[string]]</code>: a sequence of Unicode characters representing some text, like "hello".
+
* <code>string</code>: a sequence of Unicode characters representing some text, like "hello".
* <code>[[number]]</code>: a numeric value. The number type can represent both whole numbers like 15 and fractional values like 6.283185.
+
* <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>true</code> or <code>false</code>. bool values can be used in conditional logic.
+
* <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>[[Terraform map type|map]]</code> or <code>object</code>: a group of values identified by named labels, like <code>{name = "Mabel", age = 52}</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:
 
  }
 
  }
  
== Errors ==
+
== Related terms ==
* Terraform error: <code>[[List of object required]]</code>
+
* [[variable]]: [[Terraform variable types]]
 +
* Error: [[List of object required]]
 
* Error: [[Element 0: object required]]
 
* Error: [[Element 0: object required]]
* [[Error: Incorrect attribute value type]]
 
 
== Related terms ==
 
* [[Variable]]: [[Terraform variable types]]
 
* [[Terragrunt: inputs:]]
 
  
 
== See also ==
 
== See also ==
 
* {{Terraform types}}
 
* {{Terraform types}}
* {{Terraform variables}}
+
* {{terraform aws resources}}
 +
* {{Terraform}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: